
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2010 08:23 PM
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
- Labels:
-
Archive

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2010 11:59 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2010 11:38 PM
I will change the web.config file to include
<compilation defaultLanguage="VB"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2010 10:50 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2010 10:33 PM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2010 11:08 PM
"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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2010 10:27 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2010 10:20 PM
is this file in your /bin folder?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2010 10:17 PM
David

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2010 10:03 PM
