Session - Using 3rd Party COM Dll In ASP
Dec 9, 2010
I have an ASP.NET project using a COM dll. When I load the site, I login without a problem and I can browse the site fine as long as I don't go to a page which uses the COM library. When I go to a page which uses the COM library to get data from a database, the page loads fine. The problem comes when I navigate away form this page. For some reason I am sent back to the login page as if the initial session was dropped. If I take away the component on the page which displays the data which the library retrieves, I can navigate away from the page, so it is definitely the call to the library that kills the session. Does anyone have any idea why this could happen?
View 2 Replies
Similar Messages:
Mar 28, 2011
The Scenario:
I have a situation where I need to pass some session variables to an ASPX page, inside a DNN module. This page is then transferred to Winnovative's PDF publishing component's in the form of a byte array. The component returns a PDF document in the result, furthermore that PDF document is then emailed to the customer.
The Problem:
The session gets expired when the ASPX page is called (hosted as a part of DNN web project on IIS) to pass it to Winnovative. It was noticed that the session expired when ever I request the page (by any means) and a new session on that page is created.
Is there any workaround (without involving a database) that I can access those session variables (it is a dataset) from that particular ASP.NET page?
View 1 Replies
Aug 27, 2010
Am looking for a third party tool/provider of session state/caching in an ASP.NET context.
View 2 Replies
Mar 17, 2011
I know this may be a simple answer or at least to most people but I'm not getting anywhere when attempting this on my own or through the various resources I have looked up.
Here is my issue:
I am using ASP/VB.NET to build this integration. Visual Studio 2008. I previously had asked a question on API Integration on here and utilized that information to successfully perform the next steps. As this API is written differently I may not be grasping the appropriate functions correctly.
A company has given me several addresses for .ASMX portals. I add these into my service references. I can successfully see objects in my object browser and see all the procedures, etc., but further from here I'm unable to correctly use any objects. I attempted to replicate the integration based on my last API question and advice: Connecting to an API offered by a Company. When I'm attempting to use an object or simply relate a field to something on my script I continually get an error.
For example:
Dim A as New API.AddFunction
A.AccountNo = "123"
When running the page:
Object reference not set to an instance of an object.
Here is only one .ASMX I was given. I cannot release any more, until I receive permission to do so from the provider, I apologize.
[URL]
Anyhow, the root of my question is really how do I correctly interface with this API? What information do responders require so I can clarify this question more?
View 1 Replies
Jan 1, 2010
I work with many diverse technologies, and don't possess the time to evaluate every single UI framework, so I'd appreciate hearing other coders' experiences with various frameworks.
The stuff I've worked with so far (and my perceptions):
WinForms: DevExpress (love the looks, hate the API and bloat), Krypton (free!, looks good, but limited), Telerik (don't like the looks)WPF: have only used WPF Themes pack. Asp.Net: Telerik MVC Controls (love it), jQuery UI (looks great)
View 1 Replies
May 10, 2010
I have two 3rd party unmanaged c++ dll and one C++ project which uses these dlls. In my asp.net project i added c++ project as reference but in runtime it fails with that error:
Exception from HRESULT: 0x8007007E
Visual studio puts c++ project's dll into /bin folder auto. Even if i put other dlls into bin folder, it fails.
View 1 Replies
Feb 8, 2010
I have a java applet, how can I deploy this java applet in the asp.net page, so I can use the java applet in the web page?, I hope that one expert can give me a good walk through.
View 1 Replies
May 23, 2010
I found a great control with example here for mvc It fulfills all my requirement but the problem is that it uses a js tree dll. Should I go on and used that example in my application? Do you people refrain from using 3rd party free dll in applications? How will I tell that it will not expire or not cause problem later on Forgive me if this is inappropriate question but thx in advance for any appropiate reply on this topic. just trying to get the point of view of you people on this
View 1 Replies
Jan 17, 2011
I am working on an add-on component that needs to play nice with other similar add-ons. There is a 3rd party component that decided to implement the functionality a little differently than the default. What I am trying to do is call an overload of a method that only the 3rd party component has, like this:
Select Case True
Case TypeOf provider Is 3rdParty.Provider
result = DirectCast(provider, 3rdParty.Provider).GetNames(method, True)
Case Else
result = provider.GetNames(method)
End Select
Unfortunately, the DLL that contains 3rdParty.Provider is optional, so this code will give compile errors if it is not present. How can I accomplish the same thing but make it safe to run whether the 3rdParty.Provider.dll is present or not?
View 2 Replies
Feb 19, 2011
the situation is quite complex ( and my english very basic) but let's try to explain:
i'm developing a Asp.net web service calling a method from an external dll. This external dll calls some method from other .net dlls. So we have:
Asp.net WS ----> External.dll ----> other.NEt.Dll(---> other .netdll)
You have to know that the external dll uses a path ( given by an initialize method) to resolve its internal reference. In conclusion i have a web application with an added reference to my External.dll and a fully trusted path ( c:EXTERNAL ) full of all the .net dlls needed by external.dll. Looking around i've found this code to add to the application_START:
Dim path As String = String.Concat(System.Environment.GetEnvironmentVariable("PATH"), ";", "c:EXTERNAL)
System.Environment.SetEnvironmentVariable("PATH", path, EnvironmentVariableTarget.Machine)
this add my c:EXTERNAL to global environment PATH. With this configuration running from the Visual Studio development server i get no error and it all works correctly. When i publish the application on my local IIS server it gives various errors: At first the result is something like:
Failure reading <Myobject> control of <(static)> type
Unable to create <myobject> object (<C:(WRONGPATH)
eeded.net.dll> assembly)
To resolve this i've tried to add the needed .net dlls to the /bin of my application in wwwroot but the result is something like:
Failure reading <MyType> control of <Myobject> type
Error returned by .NET Framework:
System.ArgumentException: Un oggetto di tipo 'ComNet.BaseControl.LoginDisplayLayout' non può essere convertito nel tipo 'ComNet.BaseControl.LoginDisplayLayout'.
in System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
in System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig)
in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
in System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
in System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
in CDotNetType.bSetProperty(CDotNetType* , Object gcrObj, SByte* pszNom, CSLevel* pclPile, Int32 nDimension, Int32* pnTabDimension, STOperationDotNet* pstOperation)
this time it looks like it's loading the same dll but from different location causing conflicts. Now that's all. Its hard for me to explain this dll-hell but basically i would like to replicate whats happening when the application works well in the visual studio development server. I've also read that IIS does not resolve Added PATH without rebooting so i tried to add c:external manually to the PATH and reboot but same errors appears.
View 1 Replies
Mar 1, 2011
In my present project i have to convert some file formats into PDF.The source file formats may be MSOffice(.doc,.docx,.xls,.xlsx,.ppt,.pptx) and Images(.jpg,.png,.jpeg,.tiff).We wish not to use any third party library.The code should be in c#.
View 3 Replies
Feb 1, 2010
There is no "Add extender" attached next to third party control.
How to add Ajax extender in a third party control, such as autocomplete extender?
View 1 Replies
Feb 18, 2011
I need to popup my webpage from within our customer's websites. My webpage gathers some data in input boxes and then closes --- ie. It's just a basic form and all I need is to display it and give a close button to the user.
What's the best JS tool to do this? I found colorbox and it looks cool, but I am concerned that it will break my customer's site as it requires jQuery (and my customer may be using an older version than colorbox pulls in).
View 1 Replies
Aug 10, 2010
How do we code "findcontrol" with a third party control? I tried "TextBox" for Namespace="FreeTextBoxControls" Assembly="FreeTextBox" and it threw an error:
Object reference not set to an instance of an object.
Here is the offending line:
Dim Body As String = Convert.ToString(CType(lsvBlocks.InsertItem.FindControl("FreeTextBox"), TextBox).Text)
View 3 Replies
Aug 9, 2010
I want to create a digital signature, for my product, for creating the digital sigmature i want digital certificate. I came to know there are lot of third party available for creating digital signature. If any one know can tell some of third party for this.
View 1 Replies
Jul 7, 2010
I am having a silly beginners problem with ASP.Net/Visual Studio 2010. I would like to integrate a number of third party packages into my asp.net MVC app (e.g. CKEditor, TinyMCE.) During the prepwork I sooner or later end with instructions to the order of "copy the package into your project/scripts directory". Sounds easy but I still can't figure out how to do it.
For the time being I trick visual studio into adding the package by adding a blank directory, then go to windows exporer to copy files into the directory, then go back to visual studio to add them one by one. That works for a few javascripts but not for a more complex package. Clearly there must be a better way to add a third-party hierarchical structure to a project, right?
View 4 Replies
Jul 13, 2010
I have a very serious issue with my ASP.Net server when referencing (indirectly, it's a dependence of a referenced assembly) some third-party assembly.When I connect to the server I obtain this exception :
[Code]....
When I remove the assembly from the "bin" directory the site is accessible and works normally.So what might be the issue and how to get rid of this exception ?I'm using Visual Studio 2010 Professional.
View 1 Replies
Apr 26, 2010
Code in DLL can only be obfuscated. IN my DLL how can I import a third party DLL into my DLL? Can I obfuscated the code but not the functions and sub header names?
View 3 Replies
May 11, 2010
Throws following error at method invocation: The operation has timed out. If I test the same using SOAPUI, it works. Web Service - [URL]
View 4 Replies
Aug 28, 2010
I have an intranet site that is used to pull several other intranet applications/tools and database info to one place.One of the most popular features uses iFrames and jQuery tabs to give a broad overview of activities, signal etc in a network node. Chrome and Firefox eat it up with no problems, IE will work if you override the cookie policies that restrict 3rd party cookies
without a valid p3p (what a worthless standard). IE also works if you already authenticated yourself on the individual sites and the session cookies are still valid.
View 1 Replies
Oct 21, 2010
I have a web application in asp.net 3.5 where i have been using some third party controls i.e. Devexpresv9.2 and on the pages where i am using these controls i normally has to call the register tag on the page markup like for ex:
<%@ Register Assembly="DevExpress.Web.v9.2, Version=9.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
Namespace="DevExpress.Web.ASPxCallback" TagPrefix="dxcb" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v9.2.Export, Version=9.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
Namespace="DevExpress.Web.ASPxGridView.Export" TagPrefix="dxwgv" %>
Now i have updated the version of devexpress controls installed on my machine and it has stopped working because the version installed on my machine is v10.0 but my code is looking for v9.2 how can i modify my code in such a way that in future if i install another version then i don't have to modify all the pages and references again.
View 2 Replies
Aug 25, 2010
I'm working on a project for a client in which the client owns the source code that I develop. I plan on purchasing and using a 3rd party .NET library in this project. When I purchase the library, I have the right to use it royalty free on as many sites as I like. However, the library uses a license key that must be set in a property before using the library.
What would be the best way to "hide" this license key from the client?
View 3 Replies
Mar 31, 2010
Is it possible to log the user automatically into a third-party website if we have their details on record? For example, if I had a users facebook/hotmail username/password stored in my database, is it possible to use these details to log them into facebook/hotmail, then open up facebook/hotmail.com with them already logged in?
Basically my Client uses Basecamp for their customers and wants a way of automatically logging his customers into basecamp from their website without them having to go through the trouble of logging in again (after they've already logged in through my clients website).
View 5 Replies
Jun 5, 2010
Is it possible to retrieve the URL of a 3rd party webservice calling my controller method?
Things like Request.Current.Url refer to my own URL (/someController/someAction/).
The 3rd party webservice is sending HTTP POST data to my /someController/someAction and I wish to send back a HTTP POST message to the caller of the method, the 3rd party webservice, without using
return Content["some response"] which will force me to exit the method. Since the answer is plain text I would like to send it using HTTP Post.
What I actually try to do is respond to the calling webservice without exiting my method (return Content() will exit) so I can call other methods to process the data send to me by the webservice. I want to first tell the webservice I received their stuff and than process, in this way when a processing error occurs the webservice at least will not resend old data. Is there another way to do this than building your own HTTP post?
View 1 Replies
Aug 18, 2010
For ASP.NET any third party tool available for multiple file uploads which is free. also mention the pros and cons of that tool.
View 1 Replies