Click here to Skip to main content
15,905,148 members
Home / Discussions / C#
   

C#

 
AnswerRe: "operation must use an updatable query" error message Pin
Guffa12-Jun-06 7:16
Guffa12-Jun-06 7:16 
GeneralRe: "operation must use an updatable query" error message Pin
isiran12-Jun-06 19:36
isiran12-Jun-06 19:36 
AnswerRe: "operation must use an updatable query" error message Pin
Guffa13-Jun-06 9:09
Guffa13-Jun-06 9:09 
GeneralRe: "operation must use an updatable query" error message Pin
isiran14-Jun-06 2:11
isiran14-Jun-06 2:11 
AnswerRe: "operation must use an updatable query" error message Pin
Tamimi - Code11-Jun-06 2:58
Tamimi - Code11-Jun-06 2:58 
GeneralRe: "operation must use an updatable query" error message Pin
isiran12-Jun-06 19:38
isiran12-Jun-06 19:38 
QuestionHow to Run exe from memory ? Pin
hdv21211-Jun-06 2:08
hdv21211-Jun-06 2:08 
QuestionSerializationException When Remoting Pin
janlala11-Jun-06 1:28
janlala11-Jun-06 1:28 
I've developed a distributed app in C#. The various components of the application are as follows:

- A SQL Server database.
- Data Access Layer - Hosted in COM+ as Library application.
- Business Logic Layer - Hosted in COM+ as Server application.
- User Interface (Windows-based).
- Types - Exposes various typed DataSet objects used by DAL, BLL, and UI.
- ServerHost - A Console app that exposes the BLL objects via remoting.

The application is hosted on a machine running Windows XP SP2. The DAL and BLL are both hosted in COM+ on the same server that hosts the SQL Server database. Both of these projects and the UI project reference the Types library that, among other things, has strongly typed DataSet objects that are used by the other three (DAL, BLL, and UI) projects. The DAL and BLL (hosted in COM+) are made available to remote clients via .NET Remoting. The issue is that data is serialized successfully from DAL to BLL to UI. However, it doesn't work the other way around. When I send updated data back to the server, it fails. The exception thrown is SerializationException. The error message reads "Because of security restrictions, the type CustomerDataSet cannot be accessed." InnerException of the exception thrown (SerializationException) is SecurityException and its error message reads "Request failed."

I've no idea if the same DataSet is serialized from server to the client successfully, why isn't it getting serialized the other way around? Any ideas?

Note: I've created a striped down version of the same project based on the Northwind SQL Server database. This project follows the same architecture (used in the original application) around the Customer table of the Northwind database. So, if any one needs the sample application that is capable of producing the errors just described, please send me an email at ehsanullahjan@gmail.com.

Your help is greatly appreciated.


ejan
Questionweb browser and change footer printing Pin
Nafiseh Salmani11-Jun-06 1:27
Nafiseh Salmani11-Jun-06 1:27 
QuestionXmlTextReader in PDA Pin
AhsanS11-Jun-06 0:07
AhsanS11-Jun-06 0:07 
AnswerRe: XmlTextReader in PDA Pin
Colin Angus Mackay11-Jun-06 0:21
Colin Angus Mackay11-Jun-06 0:21 
GeneralRe: XmlTextReader in PDA Pin
AhsanS11-Jun-06 0:23
AhsanS11-Jun-06 0:23 
GeneralRe: XmlTextReader in PDA Pin
Yustme11-Jun-06 4:31
Yustme11-Jun-06 4:31 
QuestionImport excel sheet in sql database Pin
John Ahmad10-Jun-06 23:03
John Ahmad10-Jun-06 23:03 
AnswerRe: Import excel sheet in sql database Pin
Stanciu Vlad11-Jun-06 5:08
Stanciu Vlad11-Jun-06 5:08 
QuestionHow to implement abort functionality Pin
engsrini10-Jun-06 20:55
engsrini10-Jun-06 20:55 
AnswerRe: How to implement abort functionality Pin
Jun Du11-Jun-06 2:13
Jun Du11-Jun-06 2:13 
QuestionHow to Specify DialogResult Pin
Richard Andrew x6410-Jun-06 18:28
professionalRichard Andrew x6410-Jun-06 18:28 
AnswerRe: How to Specify DialogResult Pin
Super Lloyd10-Jun-06 20:16
Super Lloyd10-Jun-06 20:16 
GeneralRe: How to Specify DialogResult Pin
Richard Andrew x6410-Jun-06 20:17
professionalRichard Andrew x6410-Jun-06 20:17 
GeneralRe: How to Specify DialogResult Pin
Super Lloyd10-Jun-06 20:46
Super Lloyd10-Jun-06 20:46 
Questionsqlconnection by_IP Pin
Mohammed Elkholy10-Jun-06 11:09
Mohammed Elkholy10-Jun-06 11:09 
AnswerRe: sqlconnection by_IP Pin
Guffa10-Jun-06 11:19
Guffa10-Jun-06 11:19 
Questionrunning two UI threads in same application Pin
venkyp10-Jun-06 10:43
venkyp10-Jun-06 10:43 
Questiontext files Pin
rcwoods10-Jun-06 9:13
rcwoods10-Jun-06 9:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.