Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

"Could Not Load Type" error
JezB
#1 Posted : Thursday, January 22, 2009 10:05:24 AM(UTC)
Groups: Member
Joined: 1/22/2009(UTC)
Posts: 3
Location: CZ

Hi there, just trying my first really simple ASP.NET page with VS 2008 + UltiDev Cassini.

I test the simple page in VS2008 and everything's fine. I install following these guidelines:

http://ultidev.com/Produ...RedistirbWithVS2005.htm

Run it (browse to http://localhost:9094/), and I immediately get an error:

Quote:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'WebApplication1.Default'.

Source Error:

Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1.Default" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


WebApplication1 is my namespace and Default is my initial page name. I have tried different namespaces and page names, and even no namespace, but the error always occurs.

Any help anyone? I'd hate to give up at the first hurdle !
Ultidev Team
#2 Posted : Thursday, January 22, 2009 12:40:12 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

This one we should be able to troubleshoot with your help. We can't tell right away what's wrong, but we should be able to figure this one out.

Please let us know whether this application is still on the same machine as your Visual Studio or it is a setup package installing your application on another machine. In general, more you can tell us about what you have done when installing UltiDev Cassini and how registered your application with it, quicker we should be able to find out what's wrong.

Best regards,
UltiDev Team.

Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
JezB
#3 Posted : Thursday, January 22, 2009 10:14:05 PM(UTC)
Groups: Member
Joined: 1/22/2009(UTC)
Posts: 3
Location: CZ

It is on the same machine as Visual Studio, but I have gone via the full setup package and installation - I only get that error in testing the full install browsing via localhost on the specified port number (I'm using a fixed port number 9094). I don't get the error if I just run the app from within Visual Studio, ie using it's own embedded web server.

Oh, and it's a ASP.NET 3.5 application - just a very simple static html page though.

I've tried changing it to an ASP.NET 2.0 application (within VS2008), and the same thing happens, and I've even tried installing my simple web app on a different machine - same again.
Ultidev Team
#4 Posted : Friday, January 23, 2009 4:35:03 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, again.

Could you please try this: use UltiDev Cassini Explorer (Start -> All Programs -> UltiDev -> Cassini Web Server -> Cassini Web Server Explorer) to register your application manually, and please use the same physical location of your application as with Visual Studio's Development Web Server and let us know if that works. Please also contact us via email, so we can take the details off-line for now. We'll post the tips in this thread once resolved the issue.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
JezB
#5 Posted : Friday, January 23, 2009 6:12:25 AM(UTC)
Groups: Member
Joined: 1/22/2009(UTC)
Posts: 3
Location: CZ

Have emailed.
Ultidev Team
#6 Posted : Friday, January 23, 2009 7:26:54 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
To all,

It was a deficiency in our documentation. The cause of the problem was Primary Output of the Web Application project not included in the Setup. project. Our walk-through will be updated soon to reflect differences between Web Site and Web Application differences.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (4)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.