| Author |
Message |
raffaeu
Joined: 12 Dec 2011 Posts: 20 Location: Bermuda
|
Posted: Thu Dec 15, 2011 7:06 pm Post subject: Custom error web server not able to open error reports |
|
|
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" |
|
| Back to top |
|
 |
raffaeu
Joined: 12 Dec 2011 Posts: 20 Location: Bermuda
|
Posted: Fri Dec 16, 2011 5:16 pm Post subject: |
|
|
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" |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Mon Dec 19, 2011 10:13 am Post subject: |
|
|
Thanks - FYI we are already working on this as you had previously opened a support ticket by email. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
raffaeu
Joined: 12 Dec 2011 Posts: 20 Location: Bermuda
|
Posted: Mon Dec 19, 2011 2:02 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
raffaeu
Joined: 12 Dec 2011 Posts: 20 Location: Bermuda
|
Posted: Mon Dec 19, 2011 3:23 pm Post subject: |
|
|
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.
 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Wed Dec 21, 2011 12:12 pm Post subject: |
|
|
Actually I in debug configuration, SmartAssembly should not process the assembly (unless you deviated from the instructions), so that would make sense. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
raffaeu
Joined: 12 Dec 2011 Posts: 20 Location: Bermuda
|
Posted: Wed Dec 21, 2011 2:04 pm Post subject: |
|
|
That make sense now.  |
|
| Back to top |
|
 |
|