.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

pregenerated xmlserializers.dll is not beeing used

Posted By:      Posted Date: September 22, 2010    Points: 0   Category :.NET Framework


i have a vs 2010 solution where for one project, the Xmlserializers.dll is produced during the build. However, when the app is run, i still see that the call to XmlSerializer(type) will end up in GenerateTempAssembly() - which afaict means, that instead of using the pregenerated serialization assembly, a _new_ serialization assembly is beeing build. any ideas why this might be the case ?

-thomas woelfer


View Complete Post

More Related Resource Links

Cannot create XmlSerializers for this Web Part

Bizarre Web Part Error across all sites... Yesterday I left the work station with everything in SharePoint working smoothly and this morning after Windows Update had installed some updates it was rebooted.  Now I keep getting Web Part Errors on standard web parts, such as the built-in Image web part... Any ideas what could be causing this? Thanks 

Trouble preventing runtime compile of MyLib.XmlSerializers.dll


Hi All, I am using VS2005 on Win7 32bit to build a strongly typed class library that calls a web service. I've used the Add Web Reference wizard in VS2005 to add the reference to the service.

Everything works a treat, except the first call to the service takes 20+ seconds. Subsequent calls take around 40ms (as expected). Other clients (eg. SOAPUI) call the service very fast every time, so it's not the service.

I'm almost certain that the problem is the compiling of the MyLib.XmlSerializers.dll. But no matter what I do I can't prevent it from happening. I've set Project Properties > Build > Generate serialization assembly to 'On' and the file does get generated, but when I call the service a new version of MyLib.XmlSerializers.dll still gets compiled to the %TEMP% directory.

I've tried sgen.exe, again successfully generating the MyLib.XmlSerializers.dll, but still the first call takes ages and the file gets generated in %TEMP% on the first call.

I'm at a loss here and would be extremely grateful if anybody can suggest a potential solution.

Cheers, Leuis


Unable to alter table that is beeing replicated


We are using SQL Server 2008 and transaction replication. I have set up the publication so that it is replicating schema changes but today i discovered that I was unable to add a column to one table that also is an article in the publication. The error I get is this:

Altering [dbo].[Group]
Msg 650, Level 16, State 1, Procedure sp_MSreinit_article, Line 66
You can only specify the READPAST lock in the READ COMMITTED or REPEATABLE READ isolation levels.

Have anyone any clue of what this can be?



Reload Page only once after beeing loaded from IE Favorites Tab



have following problem:  I have a page with several panels which are enabled or disabled depending from which page user were redirected to this particular page (based on UrlReferrer). Everything works perfectly until a user adds this page to favorites in IE8 (not sure about other browsers at this point), and then returns to that favorite in the future. It contains the previous data and not the data from the current page . When I click F5 it works again becase page is reloaded from the server and not from IE cache. How can I avoid this issue? Is there any way to force page reload only once! I tried also to put some code into "If Not IsPostBack", but it still does not work.  Any help is welcome! Thank You!

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend