Custom error web server not able to open error reports

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

Custom error web server not able to open error reports

Postby raffaeu » Thu Dec 15, 2011 7:06 pm

I have two machines, DEV where I build my ClickOnce SA application and WEB where I store the error reports and where I have an additional license of SA.
I compile the application on DEV and run it on a third machine. When there is an exception I can succesfully use the custom error report and send the error to my web server.
The issue happens when I refresh the SA client on my web server, as soon as it tries to load the error report I get this exception:
https://public.blu.livefilestore.com/y1p0amp3udnOXjTeN9fOmZ4AUiJfdJqVyTHbZwSaQ2p3G-Wsf1kro6XJ-ry7Fk258gelZyxDED1OX_b43eEHN71cg/error.bmp
It says:
"The report is not associated with a valid project ID. Either the assembly was not built using this computer (which is true) or the assembly was not marked as released (which is true, is Debug) and the associated was deleted"
raffaeu
 
Posts: 20
Joined: Mon Dec 12, 2011 9:58 pm
Location: Bermuda

Postby raffaeu » Fri Dec 16, 2011 5:16 pm

This is a more detailed description of the error I am having which has been sent also to your ticket system yesterday.

Good morning, I am attaching in this e-mail the exact problem I am facing with Smart Assembly 6.5 error reporting feature.

I have a Development machine DEV01 with:
• SQL Server 2008 Express
• Visual Studio 2010
• SA Professional license
In this development machine I am building a Windows Form ClickOnce application using the MsBuild task provided by RedGate.
I have configure everything to use a remote SQL and a remote shared folder for the mappings and to use our internal web server.
As soon as I build the project I can see the SQL server populated and the map published in the remote folder.

I have an internal web server installed using your tutorial.
WEB01. I have also installed in this server SA Developer license in order to be able to view the error reports.

As soon as the application crashes I can see that in my report folder I have a new file called “tally” of 1Kb
Nothing is written to the database
If I open SA client from the web server I receive the following error and no reports are displayed:
"The report is not associated with a valid project ID. Either the assembly was not built using this computer (which is true) or the assembly was not marked as released (which is true, is Debug) and the associated was deleted"
raffaeu
 
Posts: 20
Joined: Mon Dec 12, 2011 9:58 pm
Location: Bermuda

Postby Brian Donahue » Mon Dec 19, 2011 10:13 am

Thanks - FYI we are already working on this as you had previously opened a support ticket by email.
Brian Donahue
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Postby raffaeu » Mon Dec 19, 2011 2:02 pm

Hi Brian, actually I got notified that the ticket has been closed while I didn't get a solution on my problem yet.
If I run your MsBuild task, the SQL is not upgraded, either the project table or the builds table are not updated.
raffaeu
 
Posts: 20
Joined: Mon Dec 12, 2011 9:58 pm
Location: Bermuda

Postby raffaeu » Mon Dec 19, 2011 3:23 pm

Hello guys, after some experiments I was able to sort out the problem.
It works only if I set my project to "Release". If I set the project to "Debug" SA recompiles the project but it does not update SQL Server.
:D
raffaeu
 
Posts: 20
Joined: Mon Dec 12, 2011 9:58 pm
Location: Bermuda

Postby Brian Donahue » Wed Dec 21, 2011 12:12 pm

Actually I in debug configuration, SmartAssembly should not process the assembly (unless you deviated from the instructions), so that would make sense.
Brian Donahue
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Postby raffaeu » Wed Dec 21, 2011 2:04 pm

That make sense now. :wink:
raffaeu
 
Posts: 20
Joined: Mon Dec 12, 2011 9:58 pm
Location: Bermuda


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 1 guest