Solved

VS2012 Publish to new server cutting off files

Posted on 2014-04-24
3
299 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Suggested Solutions

Title # Comments Views Activity
VMWare 101 9 93
DNS logs 1 28
another domain controller shut down question 2 39
unable to isntall .net framework 3.5 19 34
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…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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 walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

732 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