Hallo,
I'm performing a mass insertion
from a text file to a db table
with AdoNet commands, like this:
myCommand.Comma ndText = "BULK INSERT ..."
from a Win form
no problem
but
from a Web form
(the same command, on the same db, on my pc)
I receive a message about a needed authorization
The message (Italian language):
"L'utente non è autorizzato a utilizzare
l'istruzione per il caricamento di massa."
(It tells I have non authorization
to perform the mass insertion)
What I need
and
where have I to set it? 1 1996
Hello Teo,
What account does you asp.net application use to connect to the
database? Are you using sql authentication or windows authentication?
If you are using windows authentication, I suspect the problem might
be due to the fact that the account that asp.net runs under, ASPNET
does not have the rights to bulk insert into the database.
You can quickly correct this in Enterprise Manager/ Management studio
by assigning the user the Bulk Insert Administrators role
On Fri, 17 Nov 2006 19:18:52 +0100, teo <te*@inwind.itw rote:
>Hallo,
I'm performing a mass insertion from a text file to a db table with AdoNet commands, like this:
myCommand.Comm andText = "BULK INSERT ..."
from a Win form no problem
but
from a Web form (the same command, on the same db, on my pc) I receive a message about a needed authorization
The message (Italian language): "L'utente non è autorizzato a utilizzare l'istruzione per il caricamento di massa."
(It tells I have non authorization to perform the mass insertion)
What I need and where have I to set it?
--
Bits.Bytes. http://bytes.thinkersroom.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jim Geissman |
last post by:
I am trying to bulk insert a text file. The file has fixed-length fields
with no field terminators. BOL says that field terminators are only
needed when the data does *not* contain fixed-length fields, which
implies they are optional -- so I made a format file without any (two
consecutive tabs with nothing between them). The following...
|
by: me |
last post by:
I'm also having problems getting the bulk insert to work. I don't know
anything about it except what I've gleened from BOL but I'm not seeming to
get anywhere...Hopefully there is some little (or big) problem with my code
that someone can point out that may save me some time.
TIA
CBL
|
by: iqbal |
last post by:
Hi all,
We have an application through which we are bulk inserting rows into a
view. The definition of the view is such that it selects columns from
a table on a remote server. I have added the servers using
sp_addlinkedserver on both database servers.
When I call the Commit API of oledb I get the following error:
Error state: 1,...
|
by: akej via SQLMonster.com |
last post by:
Hi, i have table with 15 columns
CREATE TABLE . (
PRIMARY KEY ,
NULL ,
NULL ,
NULL ,
NULL ,
(50) NULL ,
NULL
|
by: pk |
last post by:
Sorry for the piece-by-piece nature of this post, I moved it from a
dormant group to this one and it was 3 separate posts in the other
group. Anyway...
I'm trying to bulk insert a text file of 10 columns into a table with
12. How can I specify which columns to insert to? I think format
files are what I'm supposed to use, but I can't...
| |
by: Zarrin |
last post by:
Hello,
I read several articles of newsgroup about the bulk delete, and I found
one way is to:
-create a temporary table with all constraints of original table
-insert rows to be retained into that temp table
-drop constraints on original table
-drop the original table
-rename the temporary table
|
by: mivey4 |
last post by:
Hi,
I have been searching but haven't had any luck finding a method of performing bulk inserts of data into Oracle comparable to using the BCP utility with MSSQL.
In our MSSQL environment I typically prepare some file data using a perl script to parse and format the data into a comma-delimited format, then use BCP to bulk insert the records...
|
by: Khafancoder |
last post by:
Hi guys,
in my db i have these three tables
1.Stores 2.Products 3.Parts
their structure is something like :
Stores ----Products ----Parts
|
by: girl |
last post by:
Hi i have a problem with MS SQL server 2000 and hope to seek for some advise.
i have the following samples
aa|0|abcdefg|
b|0|abcdefg|
i used the bulk insert in the query analyser..
BULK INSERT adl_ntid from 'C:/abc.unl with
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |