Way To Manage DLL In Applications
Oct 6, 2010
HiMy web site uses 2 unmanaged DLLs (gsl.dll, cblas.dll). I put these dll's in the bin folder along with some other managed dll's. On my development system everything is fine when using the built-in dev server in Visual Studio 2010. However, when I run the site through my dev system's IIS instead of the Visual Studio server I get the following error:'C:<absolute path to bin folder>ingsl.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
View 8 Replies
Similar Messages:
Oct 3, 2010
I want to deploy multiple asp.net applications on same hosting with subdomains. How it should be manged ?
I just created a subdomain and deploy application in its folder; when I tried to access application with subdomain it shows the following error:
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
View 5 Replies
Oct 3, 2010
I want to deploy multiple asp.net applications on same hosting with subdomains. How it should be manged ?
I just created a subdomain and deploy application in its folder; when I tried to access application with subdomain it shows the following error:
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
View 1 Replies
Jun 7, 2010
I've been worked with web services so far, and I'm interested in expanding my services to console applications as well so I started digging up with WCF but I'm conserned that I won't be able to use the HttpContext collection that I've been used to do with web services one important thing which is to generate a random value from HttpContext.Current.Request.ServerVariables["ALL_HTTP"] that I need to reckon if it's the same or at least near what machine that is calling my service. How can I overcome this problem?
I need to know what machine is calling to count the number of attempts to login into my system for example. So must do it inside of the svc code otherwise if I let the client inform what ip address or what computer he is using, anyone could forge this argument and surpass by another machine. May be I'm approaching this matter wrongly. And I should count the number of attempts per state session, but how is it done?
View 1 Replies
Apr 22, 2010
Our corporate intranet is designed so that each web application is a child application in the primary application.. Everything has worked fine with Visual Studio 2008 and even in 2010 running the website locally works great, the output directory for the child apps is ..in and the ProjectName.dll copies to that directory.. When I do a publish however it does not and I have to manually copy the dll from the bin folder in the project folder to the parent bin folder, this isn't hard of course but more of a pain in the butt each time I need to publish something. I made sure the output directory is correct for both debug and release yet on publish is just copies it to the child bin and not the parent bin as needed.
View 2 Replies
Jan 6, 2011
I built a little web application that displays charts. I was thinking that it might be useful for the superuser of the app to do a complete data refresh, however this process takes around 10 minutes to complete. I was thinking perhaps the user could click a button that would start off a new thread to do a data refresh and subsequent clicks would kill the thread and restart the data population process. The user would then be free to browse about the site and view the charts as their data is populated.
Is there a simple method of accomplishing something like this?
View 3 Replies
Feb 3, 2011
I will like to imitate the behaviour of the site ClickBank.com, for example:Open the site, and login, if i open a tab with the same site, it ask me again to login.It makes me wonder how to manage one session per tab.Just to clarify, i don't loose control on the first tab if i log on in the new tab. They are separate sessions.
View 1 Replies
Mar 10, 2010
I am currently moving into the web-hosting league. I have to far been adding sites manually in the IIS Manager. But I wonder if there exists an interface, framework or something similair to manage the IIS over the internet - eg. an ASP.NET web-application? I've read something with WMI, but I am unsure if this is the right path to go? I need to add, edit and delete sites in the IIS Manager on a Windows 2008 server running IIS 7.0 programmatically.
View 1 Replies
Feb 16, 2011
I am making a project for the university. When admission Starts, suddenly a lot of traffic comes at my site around 50000 to 100000 users. Site goes down therefore.
View 1 Replies
Aug 5, 2010
I am wanting to develop an application where there is a business requirement to keep a track of all changes made, so every time a record is edited, it is saved as a new record. So far, I have a Search form to list my Entities in a GridView. When I have identified the Entity I want to edit, I click on that record, and it takes me to a DetailsView form, with all fields of the record. Every record is identified as having an Entity key (ent_key), Sequence (seq_key) and Current key (cur_key). When I edit and save the Entity with say, ent_key =1000, seq_key =3, cur_key =1 and make any changes, then two things should happen:
1. the existing record (without edits) should be amended to be: ent_key =1000, seq_key =3, cur_key =0 (this 0 indicates that it is no longer current)
2. a new record including edits should be inserted to the database as having: ent_key =1000, seq_key =4, cur_key =1
The problems: In my DetailsView form, in Update mode I cannot update the seq_key, and when I use Insert mode, all the fields are blank so this is not helpful to the end user. (FYI - The data is stored in a SQL Server database, and I have set up a table adapter to retrieve the records. Am developing in C#)I would like to utilize stored procs where possible to resolve this issue. Would you experts please help me with some ideas (incl coding and examples if poss) to resolve this issue? Am reasonably new to this development, and I don't know what I don't know.
View 5 Replies
May 25, 2010
How do I increase the allowable time before my WCF request gives up?
My client program executes: -
Recordcount = GDBService.Chartdata1(_ChartType, _FoundIndiid.ToString, Selection, Chartoption, 0, _UserInfo.Userid, _UserInfo.Role)
This invokes an SQL procedure that takes up to 3 minutes to run when invoked from SQL Management Studio with the same argument values.
The default is 30 seconds.
I tried inserting <httpRuntime executionTimeout="300"/>
within the <system.web> section of web.config. This didn't help.
I tried writing this into the client program: -
GDBService.Endpoint.Binding.OpenTimeout = TimeSpan.FromMinutes(5)
Dim start As DateTime = Now
Recordcount = GDBService.Chartdata1(_ChartType, _FoundIndiid.ToString, Selection, Chartoption, 0, _UserInfo.Userid, _UserInfo.Role)
Dim finish As DateTime = Now
I found that Finish was always 30 seconds after Start. Ditto if I set ..."SendTimeout".
View 12 Replies
Oct 17, 2010
I haven't developed in ASP.NET for a very big while...
I'd like to create a website that will enable members to add content : let's imagine they have items to be sold, and they want to create one web page for each item to be sold. Those pages should be viewable by everybody, but should be editable only by the member who has created it of course. Each item should be stored in a category. In fact it's very similar to what eBay does (except it's not for auction at all), or maybe a site for classified advertisements like www.adoos.co.uk is a best example.
The application should be dimensioned to allow potentially millions of members, with few items (around 1-10) for each member.
I imagine to use the ASP.NET Membership Fx to manage security and user account, stored in SQL Server. Is it a good start?
But I don't have any idea about where and how to store the content itself (user's web pages, with optionally few photos)! In SQL Server? In Active Directory, how? Is a CMS framework the right tool to be used?
View 2 Replies
Aug 10, 2010
I'm creating a site with 2 different sections (main site and admin) and both of them need authentication. they have separate login screens.
the main section is for users to login and manage their personal details. this is already created and it works fine using FormsAuthentication.the admin section is for the administrator to manage the users. now, how do I go about creating the admin section? Can I use FormsAuthentication again? or sessions?
View 3 Replies
Feb 22, 2011
I have created a ManagerEntities like this:
[Code]....
Due to I want to have only one connectionstring for a few tables.Unfortunatly now I get error like this:"The model backing the 'ProjectManagerEntities' context has changed since the database was created. Either manually delete/update the database, or call Database.SetInitializer with an IDatabaseInitializer instance. For example, the DropCreateDatabaseIfModelChanges strategy will automatically delete and recreate the database, and optionally seed it with new data."I tried create class:
[Code]....
and add in application_start():
[Code]....
but after that...I lost all data from tables, and other tables are deleting...of course I tried create base manually too...
View 1 Replies
May 25, 2010
I've 2 pages and I've to send some ID from first to second page
I don't like to use sessione variables and cookies, now I've:
<asp:TemplateField ShowHeader="False" ItemStyle-Width="30">
<ItemTemplate>
<asp:Button ID="btnDetail" OnClick="btnDetail_Click" id1='<%# Eval("id1") %>' id2='<%# Eval("id2") %>' runat="Server" CausesValidation="False" Text="Dettaglio" Width="60px" />
</ItemTemplate>
[Code]....
Is there a solution for don't show parameters un browser URL and don't allow users to changes the ID and view other records?
View 2 Replies
Nov 15, 2010
i want to manage all the design of my website(asp.net) through my css. my client requirement is he should be able to change all design of website within 4-5 hrs.
View 3 Replies
Mar 25, 2010
In my .NET web app, I keep basic user info in a user session object. I also usually keep a director class in the session; which is basically just has info about whatever thing it being worked on on that screen (like a customer id).
I am trying to keep from adding a ton of sessions. I also want to make sure at any given time ONLY the sessions that are necessary are in memory.
This means I need an effective way of managing my session variables.
View 6 Replies
Feb 15, 2010
I'm looking to be able to manage my users and roles online. So that I don't have to re create the wheel, is there a way I can upload the asp.net configuration tool for my website?
View 4 Replies
Mar 7, 2011
I'm planning to create a site for learning technologies, such as codeproject or codeplex. different ways to manage huge articles?
View 3 Replies
Nov 3, 2010
Say I need to develop a online cheese games and the game is just between computer and a real human player.
The req is to keep states (like steps,win history) usable even after the user closing browsers or server temp being offline in short time. Thus when the player goes back to the game page, he should be keep playing from what he played last time, and get his play history as well.
It is definitely need cookie to enable all this, but i m concerning about the security of using that. I should prevent ppl hacking the cookie directly to change the history or sth. My thought is to make the server end assign a token to client. All the steps and history data are associated with this token string and stored in a persistent layer (database).
Is it a overdesign , or there is a way to encrypt cookies.
View 3 Replies
Mar 9, 2011
I am creating a web service in asp.net. I not getting which one is better way to manage multiple classes with web service.
Two way in my mind but i am not getting which one is better.
1) Call all classes in single .asmx file.
2) Create different .asmx file for all classes.
paypal.sandbox.AddressType addressType = new paypal.sandbox.AddressType();
addressType.AddressID = "Your Address ID";
paypal.sandbox.DoDirectPaymentResponseType response = new paypal.sandbox.DoDirectPaymentResponseType();
response.TransactionID = "25554d";
I want to call my classeslike this from my code behind. I am not getting this how can i call like this.
View 1 Replies
Feb 2, 2011
I need to know how to configure the .config to manage Session state in SQL Server
View 2 Replies
Jan 12, 2010
I have a problem....if one user try to go to a page where he isn't autorized, the application rediredt he at the login page...
how I can redirect in an other page, where i write "Access denied"??
View 2 Replies
Apr 29, 2010
i like to design a asp.net application(app1) where we can create role and actions. here action is such as create student details and delete student details... this both actions comes underneath to a role1.. so, the application will have some roles with set of actions. This roles and action will be used later in another applications(app2 and app3).
i have designed app1 with single sign on for all the application(app2,app3). when a user enter into app2, he/she will be redirected login page which resides in app1. There user validation will take place. once validated, authentication ticket will be send back to requested application(app2).
Once app2 receive the ticket, it will make another request app1 to get the roles and action belongs to singed user. the app2 should behave based the actions belongs to role.
*A user can have more roles.
how to control the user activities based on the actions?
Is there any framework to achieve this model?
View 2 Replies
Mar 25, 2011
looking for a better way to manage a web site project with a hundreds pages and controls. ¿Is it possible to put pages in separate .dll's? ¿Subdivide the project somehow? ¿Can IIS help in this purpose? ¿Is it possible to update part of the project without install the whole package?
View 2 Replies