cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
David_F
Engaged Sweeper
The following is the error I receive when trying to open Lawsweeper.

David F


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: CS0234: The type or namespace name 'general' does not exist in the namespace 'Lansweeper' (are you missing an assembly reference?)

Source Error:



Line 13: <tr>
Line 14: <td width="10" align="center"><img src="images/dashboardsm.gif" width="10" height="10" /></td>
Line 15: <td align="left" ><a href="default.aspx" class="<%=Lansweeper.general.getclass(request,"start")%>">Dashboard reports</a></td>
Line 16: </tr>
Line 17: <tr>


Source File: c:\Program Files\Lansweeper\Website\inctop.aspx Line: 15

Show Detailed Compiler Output:

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
9 REPLIES 9
David_F
Engaged Sweeper
I will do the same. Thanks again for your help.
Hemoco
Lansweeper Alumni
Good to know.
I will change the web.config file to include
<compilation defaultLanguage="VB"
David_F
Engaged Sweeper
We have a website/intranet that runs ssl. On that website, we have an application that runs our timekeeping system. I have now installed lansweeper on that website so it is using port 443.
Hemoco
Lansweeper Alumni
Strange problem.
Could be that a reference is needed to the DLL although this is normally not required.

Which other applications are on the web server?
Maybe some global setting has been changed.
David_F
Engaged Sweeper

"Maybe some global setting has been changed."


Yep, that was it. Here's the offending global setting:
<compilation defaultLanguage="c#" />

I moved it to the web.config for the application that required it.

Thanks
David_F
Engaged Sweeper
Yes
Hemoco
Lansweeper Alumni
The function that cannot be found is located in lansweeper.dll.
is this file in your /bin folder?
David_F
Engaged Sweeper
Yes and I have Lansweeper running on its own application pool.

David
Hemoco
Lansweeper Alumni
Are there any other applications running on IIS?