Solved

VS2012 Publish to new server cutting off files

Posted on 2014-04-24
3
298 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:Starr Duskk
  • 2
3 Comments
 
LVL 52

Assisted Solution

by:Carl Tawn
Carl Tawn earned 500 total points
ID: 40022169
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 2

Accepted Solution

by:
Starr Duskk earned 0 total points
ID: 40035017
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 2

Author Closing Comment

by:Starr Duskk
ID: 40043935
resolved.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A safe way to clean winsxs folder from your windows server 2008 R2 editions
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

713 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