Solved

VS2012 Publish to new server cutting off files

Posted on 2014-04-24
3
290 Views
Last Modified: 2014-05-06
My client has setup a new web server. The current production server is windows server 2008 R2 enterprise, with IIS7.

the new one is Windows Server 2008 R2 DataCenter, with IIS7.

When I publish the exact same code to the new server and look at the resulting files, it has cut off in the file before it completes! My source is fine. I've double and triple checked that. But the destination files are cut off and only part of the content is published.

For instance,

Compiler Error Message: BC30481: 'Class' statement must end with a matching 'End Class'.

And:
Warning: BC42105: Function 'LoadCertificate' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.

And:
Warning: BC42024: Unused local variable: 'UnitI'.
And it displays this:
Line 255:                  Dim UnitI

But when I check the local file, the actual code line reads:
Dim UnitId As Integer = INVALID_ID

When I check the remote file, sure enough the code ends at:
Dim UnitI

For some reason it is not publishing the entire files I am sending!

Any ideas?

thanks!
0
Comment
Question by:BobCSD
  • 2
3 Comments
 
LVL 52

Assisted Solution

by:Carl Tawn
Carl Tawn earned 500 total points
Comment Utility
Are the files being cut-off at a consistent size, or do they differ?

Do you have anti-virus running on the server? AV could potentially lock the file while it is being written, preventing the full data being flushed.
0
 
LVL 1

Accepted Solution

by:
BobCSD earned 0 total points
Comment Utility
Evidentally the guy who installed the server had to disable TCP offloading.  He explained it to me that windows looks at file size for file transfer, and looks for that hardware and can't find it, so he disabled where it looks for it, and now does it through software to allow me to upload any file size.

Thanks!
0
 
LVL 1

Author Closing Comment

by:BobCSD
Comment Utility
resolved.
0

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now