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
Solved

VS2012 Publish to new server cutting off files

Posted on 2014-04-24
3
296 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A procedure for exporting installed hotfix details of remote computers using powershell
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 and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …

808 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