Adrian
|
| Posted: 03/19/2002, 7:04 AM |
|
Hi,
I have generated the bugtrack sample to be ran on .NET and when I try to run it I receive the following error message:
"Could not load type 'Bug_Management.Global'"
Any help ?
Thanks a lot
|
|
|
 |
Alex Alexapolsky
|
| Posted: 03/19/2002, 7:23 AM |
|
There are a couple of things that you need to keep in mind before you start working on ASP.NET applications..
1) Currently CC generates code as per .NET Beta2 .. you need to have ASP.NET Beta2 installed on the server.
2) Each directory you output your code to should be converted into a Virtual Directory. For example if you generate your project to c:\InetPub\wwwroot\MyApp
Then, you should convert the MyApp directory into a Virtual Directory. Go to Control Panel -> Administrative Tools -> Internet Information Manager and then Select "Create New Virtual Directory". Compelete the Wizard, with default options and it should be enough for general applications.
3) After you 'Generate' the code from CC you need to compile the code, since CC uses the ASP.NET's recomended CodeBehind way of generating ASP.NET applications, you need to compile the application. Go to the directory where you generated the project and you will find a batch file called 'makeall.bat'. Run this file and it will auto-compile the assemblies for you. In case you have Visual Studio.NET (VS.NET), CC also by default output's code in VS.NET format, so that you can click on the <ProjectName>.csproj file to open the project in VS.NET and then build it.
Once you compelete the above steps your applications should work correctly!!
|
|
|
 |
|