473,406 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Error while importing excel file into mysql database

56
Hello Every one,

I am trying to import excel file data in to mysql database table,the code for import excel file is working fine in local system but when i am testing it online webpage it display error like

"System.Security.SecurityException: That assembly does not allow partially trusted callers."

If any one have solution then plz help me..

Thanks in Advance.
Jun 3 '08 #1
5 1572
r035198x
13,262 8TB
Hello Every one,

I am trying to import excel file data in to mysql database table,the code for import excel file is working fine in local system but when i am testing it online webpage it display error like

"System.Security.SecurityException: That assembly does not allow partially trusted callers."

If any one have solution then plz help me..

Thanks in Advance.
Which library are you using?
Have you tried to add AllowPartiallyTrustedCallersAttribute the assembly?
Jun 3 '08 #2
sejal17
56
Which library are you using?
Have you tried to add AllowPartiallyTrustedCallersAttribute the assembly?
can you please tell me how to add that assembly?
Jun 4 '08 #3
r035198x
13,262 8TB
can you please tell me how to add that assembly?
Sorry I meant to set that attribute for the assembly.
Jun 4 '08 #4
sejal17
56
I am beginner in asp.net so can you plz tell me
how to set this attribute and where i have to set it?
Jun 5 '08 #5
r035198x
13,262 8TB
I am beginner in asp.net so can you plz tell me
how to set this attribute and where i have to set it?
See if this link helps.
Jun 5 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Andreas Emmert | last post by:
Hi there, I'm trying to import a csv file into my MySQL database. Unfortunately the number format for the price column is formatted in German style, i.e. XX,XX (decimals separated by comma not...
0
by: Rob Welch | last post by:
I am changing my church band scheduling system from Excel to Database. I have assigned a schedule table in MySQL database that will be my master schedule. It contains the following fields: ...
1
by: Luis Esteban Valencia | last post by:
Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source...
1
by: Geoff Jones | last post by:
Hi I have a question which I hope somebody can answer. I have written a VB application with which I want to import an Excel file, analyze the data within it and do some calculations. There are...
2
by: Snozz | last post by:
The short of it: If you needed to import a CSV file of a certain structure on a regular basis(say 32 csv files, each to one a table in 32 databases), what would be your first instinct on how to...
2
by: bulletz | last post by:
There is NO help on the support forums over there! UGh ... so this is the issue I can't import this one piece of my database because of an error: SQL query: # # Data contents of table...
0
by: Anish G | last post by:
Hi All, I am getting the below given error while running my application in live server. In my local machine, its working fine. Please help me as it is very urgent for me. Exception from...
2
by: Alan M Dunsmuir | last post by:
A client has sent me a (Windows) Excel Spreadsheet (.xls) file containing a block of data he wants included as a table in a MySQL database in a (Linux-based) PHP/MySQL Web application I'm...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
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...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.