→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
marvinwb
Engaged Sweeper
Guys,

I get the following when trying to browse the Lansweeper webconsole.

Any ideas?

Server Error in '/Lansweeper' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1002: ; expected

Source Error:



Line 1: <%
Line 2: Session("topbar") = "os"
Line 3: Session("bottombar") = "userinfo"
Line 4: Session("bottomsubbar") = "logoninfo"


Source File: C:\Inetpub\lansweeper\frtop.aspx Line: 2



12 REPLIES 12
Swanie
Engaged Sweeper
Hi

Sorry for the delay in my reply.

Yes this is the same error message.

Thanks
Swnaie
Hemoco
Lansweeper Alumni
is is the same error message?

For some reason, the system is trying to compile the page as C# instead of VB.net
Swanie
Engaged Sweeper
Sorry but it returns the same error message. Line 2 is in red as before


Line 1: <script runat="server" language="vb">
Line 2: Session("topbar") = "os"
Line 3: Session("bottombar") = "userinfo"
Line 4: Session("bottomsubbar") = "logoninfo"


Regards
Swanie
Hemoco
Lansweeper Alumni
Is the file "DreamweaverCtrls.dll" in the bin subfolder of your root folder?

Following code is not tested:

open page frtop.aspx
change
<MM:PageBind runat="server" PostBackBind="true" />
<%
Session("topbar") = "os"
Session("bottombar") = "userinfo"
Session("bottomsubbar") = "logoninfo"
%>

into
<MM:PageBind runat="server" PostBackBind="true" />
<script runat="server" language="vb">
Session("topbar") = "os"
Session("bottombar") = "userinfo"
Session("bottomsubbar") = "logoninfo"
</script>

Swanie
Engaged Sweeper
Sorry, I have no attach button/icon

I have added the image to the below link

Link to the Screen Shot




Thanks
Swanie
Hemoco
Lansweeper Alumni
click the "attach" button 😉
Swanie
Engaged Sweeper
How do I attach an image/screen shot to a reply ?

The screen shot simply contains the same error message.

Thanks for the very quick reply !

Swanie
Hemoco
Lansweeper Alumni
Could you post a screenschot, never received it
Swanie
Engaged Sweeper
Hi Marvinwb and Smikkel

Did you ever find the answer to the below error/issue

*******************************************
Compiler Error Message: CS1002: ; expected

Source Error:



Line 1: <%
Line 2: Session("topbar") = "os"
Line 3: Session("bottombar") = "userinfo"
Line 4: Session("bottomsubbar") = "logoninfo"


Source File: C:\Inetpub\lansweeper\frtop.aspx Line: 2

******************************************
Regards
Swanie