Configuration :: Use Web Form In Win Application Like .exe File?
Jul 15, 2010what is the way to run asp.net forms like .exe file in Windows without any explorer
View 1 Replieswhat is the way to run asp.net forms like .exe file in Windows without any explorer
View 1 Replieshow to store into sql data base and and how to retriew xls file as xls file from database in the form form of byte[] using c# in asp.net application.
View 1 Replieswe are developing asp.net web application with form authentication in IIS 6 - Windows server 2003.the application is working fine.but if we call any .html extension we are getting the following errors,
"Internet Explorer cannot display the webpage - Diagnose Connection Problems "
I have an application that will upload files from my client to a web server using HttpWebRequest (with the function suggested here: [URL]
My problem is that when the file (about 10 mb in size) is being posted the whole application freezes (e.g. "application is not responding" when I try to move the window).
Do I need to put the uploading in a separate thread, or is there any other simple way solve this?
I created a new project to test the Microsoft Enterprise Library 5.0. It asks me to select the PROJECT - ADD NEW ITEM - APPLICATION CONFIGURATION FILE. For some reason, I don't see the Application configuration file option.
View 2 Repliescan we create .EXE file in asp.net Application.
I think we don't have .but my friend is saying it is possible ...
is it possible to create .exe file and install that application in other system...
me and my partner are distant programmer's and now after completing each of our module we want to merge it together and deploy our application , in future we can avoid this delay of merging into a single pc or server ..? so that we can upload or sync our work as soon as we completed it
View 2 RepliesI have a visual studion 2010 solution with two projects
1 . A class libarary
[Code]....
2. A windows service application
[Code]....
The service application is used to convert .dbf files to xml. The convertion is done using the classlibary project wich is called by the windows service application. This class library project has some values hard coded. like the path to look for the .dbf file
const string sourcePath = @"F:forms";
const string pathToDbfStructure = @"F:formsstructure.dbf";
const string pathToBackupFile = @"F:ackup";
I want to make these hard coded values changable. like moving them to an app.config file. To which project I have to add the app.config file (classlibary or windows service)? How can I use the value from configuration file in classlibrary ?
I am running an exe file located at Server named Wget (Command line Web Crawler) using aps.net application.
When I run it from Visual Studio Development environment it run properly and gives required results.
But when I run it from the IIS Server its process run properly but terminated immediately and doesn't give required results and there is no any kind of exception.
I have build an asp.net application and have use the setup wizard for deployment. Is there some option to add this to my setup:
Open a file? For example a readme.txt file.
My application in published in web server A. From my application I am uploading file to a folder that is in server B. I have windows authentication in web.config file and all the servers are in same network.
I am getting Access Denied error message when I try to upload a file from my application.
Is it possible for an asp.net application to read a file which is used by another process?
View 9 RepliesI am getting following error message while running ASP.net 2003 application. In login page after providing username and pwd i am getting this error. Error: Server Error " " in Application Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in configuraion file. Exception Details:System.Security.SecurityException: Required registry access is not allowed.
View 5 RepliesCannot Access File on Network Drive from web Application
View 5 RepliesI'm using .resx file in my project. when i build the application the satellite assemblies are created under bin directory. If i add this dll in other application then these satellite assemblies are added in other application bin directory. I want to add only the dll reference, not any other dlls so how to create a single dll for this scenario?
View 1 RepliesAfter publishing the console application. We changed few connection strings related values in the app.config file, but the values changed is not been reflected in the published version.
What might be the cause for not reflecting the values which has been changed ???
I am trying to read a normal string from the web.config file. When I try to read a string from the web.config file the application doesnt seem to read it. I set my sqlconnection string in the web.config file. It reads a sqlconnection string but not a normal string.Here is my code:
web.config file:
<applicationSettings>
<MyApplication.Settings>
<setting name="Colour" serializeAs="String">
<value> "Red"</value>
</setting>
</MyApplication.Settings>
</applicationSettings
This is how I try to call the setting:
string strColour = Properties.Settings.Default.Colour;
I am using .net framework 4.0
After upgrading an asp.net application to 2.0 from 1.1 I am receiving a large 100+MB .tmp file in C:Temp on the web server when the w3wp process serving that application crashes. If you open the file it looks like it is some sort of dump file. how to turn this off. I know what is crashing the application and process.
View 2 RepliesError Description while browsing the website under IIS "The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file." Initially I deleted the virtual directory, created again, set the permission to anonymous, set the browse and execute permissions, no solution. Then after doing many trials, I found out the basic problem reading the error "not allowed by the security policy". In web configuration file if we set the security policy to Fully Trusted, then problem solved and application working fine. or Set the trust level to the main configuration file in he "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIGweb.config"
View 1 RepliesI have an application that is hosted in Server 2008 Standard Edition.It has more than 50 active users that uses it. The problem is that when Temporary file size of Windows (C:Windows emp) reaches around 10MB, than the application blocks and the reports cannot be generated.When we clear this temp folder and reset Refresh IIS, the application starts working again.Below is the code we use to generate reports:
[Code]....
I am working on a web app that will heavily rely on configuration. The configuration is also will be written by another process or human. I am looking to get response on best practices in .net 3.5 on how to implement this case. I had used the configuration section of an early version of the Enterprise Library Applications Block. I really liked working with it but from what I hear it is discontinued in current versions. Hence the question... Need to be able to serialize collections, pick up file write event to reload new instance of config into memory.
View 1 RepliesI have a form that works just fine, problem is that if user leave form open for more than 20 30 min and then click a button on that form the browsers status line shows "Error in page", user then must refresh the page in order for the page function.
View 1 RepliesI am developing web applicaiton. I want to read web.config in App.config file. I have appSettings and connectionStrings in web.config. How to read that?
View 10 RepliesI have two asp.net applications webapp1 and webapp2, in each application i have a asp.net form Deafult.aspx
I want to do a form submit from Default.aspx in webapp1 and recieve the value in webapp2.
I tried to do it with simply setting action ="webapp2 location" but it is throwing the bellow error
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
I even added the machinekey element to web.config
but it is still showing the same error.
This is the code for webapp1 form which sends data to webapp2
[Code]....
How to remove the unused references in form level, vb.net application and web application?
How can I use fxcop to identity undisposed objects like dataset, dataview, connection, stream...? Any one having custom rules for the same?