Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 15th, 2012, 10:19 AM
Authorized User
 
Join Date: Mar 2012
Posts: 59
Thanks: 2
Thanked 4 Times in 4 Posts
Default Publish to Provider .sql File Structure/Format

Hi All,

I am hoping someone may be able to clarify why the .sql file created by the Publish to Provider application in VS2010 keeps getting rejected by my web host import routine.

To explain, I needed to create the ASPNETDB database on my web host and as you would expect, I used the Publish to Provider utility in VS2010 to create a .sql script to accomplish this.

As mentioned, this always got rejected so I began by taking each T-SQL statement to identify which statement was failing and transferred them to a manually created text file called "manual.sql". After each import test to my host it was successful??

The culmination of my trail and error routines ended up with a manually created file which was exactly the same as the originally created file from the Publish to Provider utility which then imported successfully????

The question is why did the original file from the Publish to Provider utility not work?

The only thing that stands out as a giveaway to the potential error is the difference in the file size of the two files. The manual file that I have ended up with, which imports fine, is exactly (within 3 bytes) half the size of the originally created file?

As you can see I have got round this issue but it would be great to find out what the source of the problem was so that it could potentially be solved at the creation of the original file from the Publish to Provider utility.

Sorry, I was hoping to upload the two files for reference but it seems I cannot do this.

Thanks in advance to anyone who may be able to help.

Kind regards,

Ian Ryder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
publish aspx file saurabh ASP.NET 3.5 Professionals 1 July 29th, 2008 07:49 AM
Display Outline Format from Nested XML Structure tclotworthy XSLT 2 May 16th, 2007 03:43 PM
Which data provider fro dbf file format in vb kau_shuk Pro VB.NET 2002/2003 1 November 29th, 2006 08:40 PM
File to Structure? TheShadow C++ Programming 3 October 23rd, 2004 05:29 AM
SQL Server Publish & Subscribe issue Greg Griffiths SQL Server 2000 1 August 18th, 2004 02:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.