473,396 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Migrating to ASP.NET 2.0

Having problem running web application when setting it to run from
Visual Studio Development Server. I get CustomPrinciple error. I would
appreciate if anyone encounter this problem can kindly share me their
views and any solutions.

Shuhed

Jan 16 '07 #1
3 982
<sh*********@googlemail.comwrote in message
news:11*********************@51g2000cwl.googlegrou ps.com...
I get CustomPrinciple error.
Please supply the *precise* error message...
Jan 16 '07 #2
Hi Mark,

Here is the error i get:

Type is not resolved for member
'IDPMWeb.Components.Security.CustomPrincipal,IDPMW eb,
Version=1.8.4.31280, Culture=neutral, PublicKeyToken=null'.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Runtime.Serialization.SerializationExceptio n:
Type is not resolved for member
'IDPMWeb.Components.Security.CustomPrincipal,IDPMW eb,
Version=1.8.4.31280, Culture=neutral, PublicKeyToken=null'.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Stack Trace:
[SerializationException: Type is not resolved for member
'IDPMWeb.Components.Security.CustomPrincipal,IDPMW eb,
Version=1.8.4.31280, Culture=neutral, PublicKeyToken=null'.]
Microsoft.VisualStudio.WebHost.Connection.ReadRequ estBytes(Int32
maxBytes) +0
Microsoft.VisualStudio.WebHost.Request.ReadEntityB ody(Byte[] buffer,
Int32 size) +73
System.Web.HttpRequest.GetEntireRawContent() +560
System.Web.HttpRequest.GetMultipartContent() +56
System.Web.HttpRequest.FillInFormCollection() +264
System.Web.HttpRequest.get_Form() +65
System.Web.HttpRequest.get_HasForm() +57
System.Web.UI.Page.GetCollectionBasedOnMethod(Bool ean
dontReturnNull) +2025201
System.Web.UI.Page.DeterminePostBackMode() +60
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+133
I would really appreciate if you can help me with this.

Mark Rae wrote:
<sh*********@googlemail.comwrote in message
news:11*********************@51g2000cwl.googlegrou ps.com...
I get CustomPrinciple error.

Please supply the *precise* error message...
Jan 17 '07 #3
<sh*********@googlemail.comwrote in message
news:11**********************@s34g2000cwa.googlegr oups.com...
Here is the error i get:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
I would really appreciate if you can help me with this.
Firstly, you need to use exception handling in your code i.e. try...catch

Then, step through the code in debug mode until you find the line which
throws the exception - then you'll know what the problem is...
Jan 17 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Zvika Glickman | last post by:
I'm migrating DB2 to ORACLE 9I. In the DB2 schema each table defined in diferrent tablespace. Few tablespaces are define on the same STOGROUP (there are few STOGROUP). It's a big db (few terra...
0
by: steve | last post by:
I am having huge problems migrating large db’s from one server to another. I use phpmyadmin to dump the data into a file, and then migrate it to my production server. Then I try to use this:...
6
by: Shai Levi | last post by:
Hi, I'm trying to migrate native c++ class to managed c++ class. The native class header definition looks as: class NativeClass { public: typedef void (CbFunc1)(int n,void* p);
3
by: BobRoyAce | last post by:
I would really appreciate recommendations for sources of materials on migrating ASP applications to ASP.NET (books, URL's, etc.). Also, is there a magazine that is particularly good for .NET stuff....
34
by: subramanian100in | last post by:
Is there any difference between porting and migrating. Kindly explain
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.