|
Hello,
I'm developing as ASP.NET web application and I use Crystal report for visual studio 2010, I installed it on my machine.
the application work correctly on my machine, but fire an error on the server.
the error say:
Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
this error fires when I run this page
[^]
I tried many solutions but still the error fire
How can I solve this Error?
|
|
|
|
|
What version of IIS Server are you using?
Well you should reinstall the Crystal Report run time on the server again to re register the class object.
I know what the error code is from c++ programming, and it means you have to elevate your permission level, but I find it strange that you should have to do that.
So I guess if your running on IIS6, then network service has to have permission on the webform, and for IIS7+, the application pool identity. Mayne the program writes temp files that need permission to write or modify.
|
|
|
|
|
thank you for your reply
it works correctly
many thanks for you
|
|
|
|
|
Hi all,
I am using entity framework 1.0 for my .net 3.5 application, is it good to use entity framework with Views or without views in the database.
Which is more efficient?
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
I have three tables t1, t2, t3 and there is a PK on t1, t2, and t3. FK realtion between t1.Id and t2.tID, t3.tID and t1.ID and also t1.ID and t3.TID. How to write mapping for this kind of scenario.
|
|
|
|
|
Hey i wanna start a discussion on try catch blocks. I read a lot of conflicting opinions on wether or not to use them and where or where not to use them, I just want a diffinative answer. Cheers.
|
|
|
|
|
Always use them around any code that may throw an exception that you need to deal with.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hey the thing is I know exactly when and where to use them it just seems that all through my code there are 100's of try catch blocks and I read very conflicting articles on wether or not this is best coding practice.
|
|
|
|
|
Mickt1985 wrote: I read very conflicting articles Which just means that everyone has their own opinion. It's up to you to choose which one you think is right.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Although everyone have their own opinion but the main important thing is user should not experience unexpected behavior. if there is something going wrong you need to catch and that could be possible through try..catch and logging the messages.
so resolving errors are more important then best practice... keep coding...
Thanks
-Amit Gajjar (MinterProject)
|
|
|
|
|
I understand that with tools like Codeit.right and The Visual Studio Analysis that Try Catch(s) are to be used sparingly and to catch only certain types of errors. You should try to wirte tests into the code in order to narrow the parameters of the code so that you will be able to report back to users problems. Hiding errors in Try / Catch in not the proper use of the machanic.
Hope this sheds some light on the use.. Try running the code by removing all the Try/Catch and if there is a better way like a If/Then that can cover the error then it is so much better.. in Addition Try/Catch are generally slower.
Regards.
|
|
|
|
|
Thanks very much for your reply.
|
|
|
|
|
If you are interested in executing a certain block of code irrespective of whether an exception occurs or not and still worry about catching an exception you might use the try-catch-finally block. Even if a goto statement is present in a try block, the control gets transferred to the label in the goto, only after executing the finally block.
You should try and use them in your code as much as possible, especially if you suspect a particular error may crash your programme.
Comm100 - Leading Live Chat Software Provider
modified 28-May-14 1:49am.
|
|
|
|
|
Hi,
I would like to ask what's the best way to send bulk SMS? if you had an option from the following, which one you'll choose and why please?
HTTP/S, FTP, SMPP, XML, SOAP, SMTP or COM object
Thanks,
Jassim
http://www.JassimRahma.com[^]
Technology News @ www.JassimRahma.com
|
|
|
|
|
requires:
:~neither use the plugin of flexpapper nor the MS's office component
|
|
|
|
|
Hi,
I had been given a WCF service endpoint for net.tcp and http binding both. I want to generate proxy for this wcf service. But when I am running the svcutil from VS command prompt as administrator, it is giving me the below errors.
When I run the
C:\Windows\system32>svcutil.exe /language:vb /out:D:\WSDLRepository-Proxy\DocRetrieveService\DocRetrieveService.vb /config:D:\source\SourceCode\StayatWork-VS2010\BusinessLogicLayer\app.config http://xxxxxxtumecr21:8000/FilenetDocRetrieve/DocRetrieveService?wsdl
command
I am getting the below error
WS-Metadata Exchange Error
URI: http://xxxxxtumecr21:8000/FilenetDocRetrieve/DocRetrieveService?wsdl
Metadata contains a reference that cannot be resolved: 'http://lnidaptumecr21:8000/FilenetDocRetrieve/DocRetrieveService?wsdl'.
<?xml version="1.0" encoding="utf-16"?><Fault xmlns="http://www.w3.org/2003/05/soap-envelope"><Code><Value>Sender</Value><Subcode><Value xmlns:a="http://www.w3.org/2005/08/addressing">a:ActionNotSupported</Value></Subcode></Code><Reason><Text xml:lang="en-US">The message with Action 'http://schemas.xmlsoap.org/ws/2004/09/transfer/Get' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).</Text></Reason></Fault>
HTTP GET Error
URI: http://xxxxxtumecr21:8000/FilenetDocRetrieve/DocRetrieveService?wsdl
The document was understood, but it could not be processed.
- The WSDL document contains links that could not be resolved.
- There was an error downloading 'http://localhost:8000/FilenetDocRetrieve/DocRetrieveService?wsdl=wsdl0'.
- Unable to connect to the remote server
- No connection could be made because the target machine actively refused it 127.0.0.1:8000
If you would like more help, type "svcutil /?"
But when I run the
svcutil.exe /language:vb /out:D:\WSDLRepository-Proxy\DocRetrieveService\DocRetrieveService.vb /config:D:\source\SourceCode\StayatWork-VS2010\BusinessLogicLayer\app.config http://lnidaptumecr21:8000/FilenetDocRetrieve/DocRetrieveService?wsdl
Command
I am getting the following error
Error: An error occurred in the tool.
Error: The given path's format is not supported.
Can anybody please help me in resolving it, I want to generate a proxy for my wcf clinet without using add service reference.
Because I dont want to make my client environment dependant. Any link or any kind help is great. Its urgent please help me.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
modified 29-Nov-12 19:33pm.
|
|
|
|
|
Hi,
Just give this a try, not sure about that. but instead of single slash in config file path use double slash. all the directory file path with double slash(\\).
so your command become,
svcutil.exe /language:vb /out: D:\\WSDLRepository-Proxy\\DocRetrieveService\\DocRetrieveService.vb /config: D:\\source\\SourceCode\\StayatWork-VS2010\\BusinessLogicLayer\\app.config http://lnidaptumecr21:8000/FilenetDocRetrieve/DocRetrieveService?wsdl
Thanks
-Amit Gajjar (MinterProject)
|
|
|
|
|
Hi all,
I need to integrate the Paypal for online credit Card processing .
I dont have pervious experience of integrating paypal . can any body share the ideas
Regards,
|
|
|
|
|
Go to the PayPal website; they will provide all the information you need.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hi code project world!
My Question is that :
I have written a "web application" via ASP.net 2008 and SQL database 2008.
I wanna use this source for multiple websites with different Master pages and CSS.
1) what is the simplest way/Solution to do that ?
2) if i change the main source code (one will be the main that i make changes to that) how can update other websites that uses this code(but with different Master pages and CSS)?
Thanks is advanced!
|
|
|
|
|
webpage is published successfully in windoms xp iss.... but page is not redirect another page when it call....... any one solve this problem to me .. i ready to pay for you 1000RS...... contact me if you know solution for this.. dineshk61@gmail.com
|
|
|
|
|
Please provide full technical details of your problem, as it stands there is no real way anyone can guess what you may be doing wrong. And do not offer money (answers are provided free here), or put your email in publicly available messages.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hello Guys,
I am new to .Net could you please tell me what are the controls used in ASAP.Net ?
Thanks,
Vani
|
|
|
|
|
Controls in asp.net consist of several categories such as HTML elements, but can be used directly on a web form or in code behind.
So web designers just starting out can drag and drop a control from the toolbar onto a web form, and experts can just type pure code to build sections of a web page.
If you have a specific question about controls, feel free to ask.
|
|
|
|
|
Read this[^]. It's the documentation and it's where you should start.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|