View Complete Post
I have this code in Global.asax but it not firing once an error occured:
void Application_Error(object sender, EventArgs e)
// Get the error details
HttpException lastErrorWrapper = Server.GetLastError() as HttpException;
Exception lastError = lastErrorWrapper;
if (lastErrorWrapper.InnerException != null)
lastError = lastErrorWrapper.InnerException;
string lastErrorTypeName = lastError.GetType().ToString();
string lastErrorMessage = lastError.Message;
string lastErrorStackTrace = lastError.StackTrace;
Please help me so I can call this method from any page?
Thaxxxxxxxxxxxxx a lot,
A little background because I feel I have an out of the ordinary architecture in place and don't know if this is contributing to the problem.
We have an existing ASP.net application that is undergoing expansion. The new functionality is all written in Silverlight 4. As part of that expansion I gutted all the old Linq to SQL and put Entity Framework 4 into place. To do this I created a standard .net Class Library and added my edmx files there. Naturally, the business entities created by this cannot be used in Silverlight. So I created a Silverlight Class Library and added all the business entities to that Silverlight Class Library as linked files. I changed the name space to be the same.
So I have the following assembly / namespaces
Company.Project.Dal.csproj / Company.Project.Entities (.net 4 class library)
Company.Project.Entities.csproj / Company.Project.Entities (SL4 class library)
With this architecture I was able to share my business entities with my SL enabled web services, my asp.net projects, my silverlight projects. Really it's a beautiful thing.
Once this was done I added "message" classes to Company.Project.Dal and again shared them with the other entites using linked files. These messages are things like MyObjectRequest; they are class
Hello everyone! Newbie here. I would like to ask how to start the SharePoint Services Web Application on
(WSS3.0,internal database, stanalone users) without getting error
I would love to provide more information regarding this issue but what I got is error 1387 displayed in the browser.
I look forward to seeing you guys feedback from your expertise angle.
I'm getting the error:
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
When attempting to add the tabs from the AjaxControlToolkit. A little background..Theres an existing aspx page in a microsite which used the accordion control and the tabbed control ...I need to modify this page to use a different masterpage.
The original site was .Net Framework 2.0 and the page in question used AjaxControlToolkit 1.0. which I manually installed originally. Some of the site has been further developed using the .Net Framework 3.5. (Come with AjaxControlToolkit) Now I have come to update this aspx page and I get the error above.
I have narrowed the down to the TabContainer (I think) Does anyone have any experience with this sort of problem? Also what version of the AjaxControlToolkit should be with the .Net Framework 3.5? I have 1.0.20229.20821.
I also tried to browse to the AjaxControlToolkit.dll to add the tools to the tool box as they're missing... thinking this may be an indicator as to why it wasn't working. I get the error: 'There was an error loading types from assembly C:\inetpub\wwwroot\project\Bin\AjaxControlToolkit.dll Could not load file or assembly 'System.Web.Extensions. Version=