473,379 Members | 1,220 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,379 software developers and data experts.

"sgen.exe exited with code -532459699"

Hi,

I have a C#.NET 2.0 application that when I try to Build it I am receiving
the error:

"sgen.exe exited with code -532459699"

Thanks in advanced for any help.
Asaf
May 5 '07 #1
3 11390
Hi,
I had the same problem some time ago...
Try this:
Open up the project properties.
Open up the build tab.
Set "Generate Serialization Assembly" to "Off"
Bye,
Diego

May 5 '07 #2
Hi Diego,

Thanks for replying to my issue.
If I set "Generate Serialization Assembly" to "Off" the application can’t
build with error that he can’t find depended files as I am using a references
to Web Services and I think there is a need for the "Serialization Assembly".

Kind Regards,
Asaf
"Diego Jancic" wrote:
Hi,
I had the same problem some time ago...
Try this:
Open up the project properties.
Open up the build tab.
Set "Generate Serialization Assembly" to "Off"
Bye,
Diego

May 6 '07 #3
Hi Asaf,

Please use following steps to find more about the error.

1) Start "Visual Studio 2005 Command Prompt" from your start menu under
"Microsoft Visual Studio 2005/Visual Studio Tools"

2) Change directory to your project directory (which has enabled "Generate
Serialization Assembly", type following command (replace project name
accordingly):

msbuild.exe MyProject.csproj /t:Rebuild /p:Configuration=Debug
/verbosity:diag diag.txt

3) Use notepad to open diag.txt, find string "sgen.exe", you will see the
full command line to sgen.exe;

4) Create a simple batch file "testsgen.bat" and copy the above command
line to it, enclose sgen.exe full path with quotes if it contains space;
add a new switch "/verbose" to its command line parameters; now run this
batch file and see the output to know more information why it failed.
Please post the detailed log here.
If in doubt, would you please create a simple reproducible project to me?
Thanks.

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

May 7 '07 #4

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

Similar topics

18
by: Phill Long | last post by:
this is the the code, now here is the final result.... I get one combo box and one tex box come up, but they are empty... DAMN!!! Any ideas on what Im doing wrong please.. Thanks Again <?php...
4
by: J. Campbell | last post by:
From reading this forum, it is my understanding that C++ doesn't require the compiler to keep code that does not manifest itself in any way to the user. For example, in the following: { for(int...
3
by: Graham | last post by:
On page 89 of Stroustrup's book "The C++ Programming Language" 3rd Ed. He says that multidimensional arrays are best avoided outside low-level code. What precisely does he mean by low-level...
5
by: apple | last post by:
UDBV8 fp 6a - AIX 5.1 We have scheduled cron jobs to do backups. Periodically and starting to occur more frequently, a backup fails with this error: SQL2072N Unable to bind the shared library...
6
by: Wito | last post by:
hi, I want to backup database (db2, aix 5.1) using script. When I exec script logging to user db2inst1 then is everything ok, but from cron, I get these error: SQL10007N Message "-1390" could...
1
by: | last post by:
Hi guys! I am a beginner with aspx (i have some background with .asp). And i am trying tu use a 'code-behind' page in order to execute all transactions in that page and leave as clean as possible...
3
by: nan | last post by:
Hi All, I am trying to connect the Database which is installed in AS400 using DB2 Client Version 8 in Windows box. First i created the Catalog, then when i selected the connection type...
1
by: perspolis | last post by:
Hi all I have an application that runs well in Debug mode..but when I change to Release mode I get this error Error 48 "sgen.exe" exited with code 1." I don't know why?? thanks in advance
0
by: =?Utf-8?B?SmltSGVhdmV5?= | last post by:
I Created a new Web control which access a public Web Service and formats that information in a table and returns the results. I then added that web control to my "Tools" in VS 2005. I then...
2
by: elgin | last post by:
I have a split Access 2003 database. I have signed the database with a Code Signing Certificate from Small Business Server. This works fine and users can have Access macro security on high or...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.