Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6984663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:34:41+00:00 2026-05-27T18:34:41+00:00

I have a web application built in ASP and initially hosted on my own

  • 0

I have a web application built in ASP and initially hosted on my own local server – Win 2008, IIS 7.0, SQL Server 2008.

I then bought a discountASP.Net hosting account for website + database.

The web application takes a file from a folder under the website root and bulk inserts into records in the database. Everything worked fine on the local development box.

When the database + website was moved to the DiscountASP.Net hosted account, the BULK INSERT would not worked and DiscountASP.Net told us that BULK INSERT is not allowed since the hosted database server is a shared server.

What is the work around for this scenario? They have indicated that we could use individual INSERTs.

Is there are better solutions out there? Has someone faced a similar problem and have some solution in place that we can re-use? (rather than reinventing the wheel).

Thanks for looking up my problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:34:42+00:00Added an answer on May 27, 2026 at 6:34 pm

    After some trial, I was able to get a solution myself. Here are the solution steps (Due to client confidentiality, I cannot share the code):

    1. I read all the text from the file on the Web Server from the ASP code using the Scripting.FileSystemObject server object.

    2. I am passing the entire text of the file as a variable to a stored procedure (SQL Server 2008). The datatype of the parameter has to be “adLongVarChar” Refer the data type table here (If the enum is not recognized, as was my case, I used the value 201 instead of the enum).

    3. Wrote SQL code in stored procedure to parse the string into rows and then further parse each line into column values.

    Hope the pseudo code of my solutions is helpful to someone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application built in Asp.net framework 3.5 (.Net 2008), and I
In an asp.net web application, I have a modal popup built with a Telerik
We have built a hosted web application, that is developed in a way that
I have built an ASP.NET mvc web application and it seems that some of
I have a ASP.NET 1.1 web application page which is built with .net framework
I have a web application built in asp.net mvc using forms authentication. I am
I have a web application built in the asp.net 2.0 MVC pattern. Now the
I have built an ASP.NET MVC 3 web application (with exlusively Razor/cshtml pages) that
I have built an ASP.NET MVC web application that uses Entity Framework. To provide
I have a web application built on ASP.NET MVC framework which requires a service

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.