.Net application embedded within SharePoint error

Pho3nix

The Legend
Joined
Jul 31, 2009
Messages
32,826
Reaction score
3,033
Location
On the toilet
Hi all,

Having some trouble embedding a .net app into SharePoint. Done this a bunch of times but on my current project the w3wp.exe app gets crashing when I try debug the application.
Anyone have any experience with this?

Can provide more details if they will help. Google hasn't been much help.
 
Close and open IDE?
Actual error messages?
Trace?
 
No error message in Event Viewer, nothing in SharePoint Logs. When I try log onto the site hosting the App I get the generic "An error has occured" with the correlation ID but the ID isn't tied to anything.

I'll try debug on PageLoad, attach the w3wp processes and the IE page where the SP site is loading and still no joy :(

LinqToSql and Entity Framework giving me the same issue.
 
No error message in Event Viewer, nothing in SharePoint Logs. When I try log onto the site hosting the App I get the generic "An error has occured" with the correlation ID but the ID isn't tied to anything.

I'll try debug on PageLoad, attach the w3wp processes and the IE page where the SP site is loading and still no joy :(

:(

SP is sad like this sometimes... not by any chance permissions? What happens what you run it directly on your box from the IDE?
 
:(

SP is sad like this sometimes... not by any chance permissions? What happens what you run it directly on your box from the IDE?

From my testing solutions, I get data back from Lookup's etc. so "technically" it should work but it just isn't this time. :(:(
I hate SP sometime. If you think of something please do PM me, remember you helped me almost a year ago with some issues I was having with a custom timer job :)
 
From my testing solutions, I get data back from Lookup's etc. so "technically" it should work but it just isn't this time. :(:(
I hate SP sometime. If you think of something please do PM me, remember you helped me almost a year ago with some issues I was having with a custom timer job :)

I fixed my SharePoint issues by getting detached from it and back into "normal" .net c# :twisted:

Not really sure of anything else, but the basics. Best would be to step line by line and see at which line it prangs... For all you know it's because there is no topsite as just \ :mad:
 
sounds like your code is crashing the www process. perhaps an infinite loop? or something as simple as an uncaught exception?
 
sounds like your code is crashing the www process. perhaps an infinite loop? or something as simple as an uncaught exception?

Possible but the same code used for the methods crashing, is used in the methods that are working (Lookups). Showed my senior the same issue and he told me he hasn't seen such before as well.
:confused:
 
I fixed my SharePoint issues by getting detached from it and back into "normal" .net c# :twisted:

Not really sure of anything else, but the basics. Best would be to step line by line and see at which line it prangs... For all you know it's because there is no topsite as just \ :mad:

I wish I could do that. Maybe eventually I shall at some point.
 
Top
Sign up to the MyBroadband newsletter
X