This topic is locked

Compilation Error

10/23/2007 10:56:14 AM
ASPRunner.NET General questions
K
kconzel author

The server gives the error below when I try to access the menu.aspx page.

So I opened menu.aspx and deleted the line

<%@ Import Namespace="ASPRunnerNET" %>.

This took me to the menu page.

Is there a way to not put this line in there in the first place so that I don't have to go in and delete it every time or is there something else I can do so that the page will work with it there?

Thanks.
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: BC30466: Namespace or type 'ASPRunnerNET' for the Imports 'ASPRunnerNET' cannot be found.
Source Error:
Line 13:

Line 14: Imports ASP

Line 15: Imports ASPRunnerNET

Line 16: Imports Microsoft.VisualBasic

Line 17: Imports System
--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407

Eugene 10/24/2007

This error message means that .NET framework cannot locate ASPRunnerNET..dll file. It happens when you put generated files to folder different from Website root directory or virtual directory root. This is the way how .NET framework works.
You need to create a bin folder under your Web site root and put
.dll file there.

You can find *.dll file in ASPRunner.NET output directory in BIN folder.

K
kconzel author 10/24/2007

Have I told you today how incredible you are?? It worked like a charm. And it solved my other problems too.

Thank you so much.

This error message means that .NET framework cannot locate ASPRunnerNET..dll file. It happens when you put generated files to folder different from Website root directory or virtual directory root. This is the way how .NET framework works.

You need to create a bin folder under your Web site root and put .dll file there.

You can find *.dll file in ASPRunner.NET output directory in BIN folder.

K
kconzel author 10/25/2007

Now that that problem is solved, it made me start thinking about my asp problem.

I have created several pages in asp that work on an old NT server but on the new server, asp pages work only in the root directory. Does asp have a similar issue? Is there a file I need to put in a certain folder there too?

This error message means that .NET framework cannot locate ASPRunnerNET..dll file. It happens when you put generated files to folder different from Website root directory or virtual directory root. This is the way how .NET framework works.

You need to create a bin folder under your Web site root and put .dll file there.

You can find *.dll file in ASPRunner.NET output directory in BIN folder.

Eugene 10/29/2007

Now that that problem is solved, it made me start thinking about my asp problem.

I have created several pages in asp that work on an old NT server but on the new server, asp pages work only in the root directory. Does asp have a similar issue? Is there a file I need to put in a certain folder there too?



You should indicate that virtual directory is "Application".

To resolve it, open Internet Information Services (IIS) Manager, Right Click on the virtual directory - select properties and then click on "Create" next to the "Application" Label and the textbox. It will automatically create the "application" using the virtual directory's name.