|
I have NOT solved the problem. I just clicked OK since I wanted to ask the question a different. If you look at my other open thread in asp.net, you will me original questions stated another way.
In your response to your good suggestion you had earlier, I did ask the network administrator to open port 8080. The network administrator says symantec requires port 8080 to be open for everyone at my company. Is there a way to check if port 8080 is open on my workstation? if so, how do you accomplish that task.
The network administrator has installed IIS on my computer, but has not configured it to work with the visual studio.net 2010 on my workstation.
The network administrator told me that he did the following for me also Since the following occurs for production: Perform a default installation of the IIS Role Services with the additional inclusion of the entire “IIS 6 Management Compatibility” pack. The entire list of check boxes should include items like Static Content, Default Document, Directory Browsing, IIS Management Console, IIS 6 Management Compatibility, IIS 6 Metabase Compatibility, IIS 6 WMI Compatibility, IIS 6 Scripting Tools, and the IIS 6 Management Console.
Would I need to do something like the following since this occurs for the production website:
• Once the installation has completed, in the Start Menu right-click the “Command Prompt” shortcut and select “Run as Administrator”. In the command prompt window browse to the “C:\Windows\Microsoft.NET\Framework64\v2.x.xxx” directory.
• Run the following command:
aspnet_regiis.exe -i
Would I need to change the option for aspnet_regiis.exe?
Also for your information in production the network administrator does the following however I do noth think it applies to me. If it does, can you tell me what I should change for my own installation:
7) Expand the “<webservername>” object in the tree found in the left pane. Under “Sites” remove the “Default Web Site”, and then under “Application Pools” remove the “DefaultAppPool” and “Classic .NET AppPool” application pools.
8) Create a new application pool. Name this pool Support and set it to use the “.NET Framework v2.x.xxxx” and the “Integrated” managed pipeline mode. Make sure “Start application pool immediately” is checked and click the “Ok” button.
|
|
|
|
|
Hi,
You are absolutely right dudee.....
Saurabh
|
|
|
|
|
Can you tell me if the following is correct?
Between your two scripts that you supplied, you are saying the following:
<pre>
1. To get started, I will not be using IIS to test the web application. I will be using the default web server in visual studio 2010 called cassini. Here is where I obtained the opinion from:
From the "http://msdn.microsoft.com/en-us/library/aa983445.aspx" url, I found that you recommend the settings would be set to the following:
a. <UseIIS>False</UseIIS>;Use Local IIS Web server -Specifies that Visual Studio will test your application on the local IIS or IIS Express Web server instead of the Visual Studio Development Server.
b. <AutoAssignPort>True</AutoAssignPort>;Specifies that Visual Studio should select a random HTTP port on the development computer to send requests to. This HTTP port is used to test the Web application project by using the built-in Visual Studio Development Server.
c. <DevelopmentServerPort>2566</DevelopmentServerPort>;- I am using the default development server path.
2. I will go to the control panel-->add/remove programs and then delete IIS that was installed by the network administator.
3. I will then go to the general windows program and type in the command scipt you gave me. This will properly install iis 7/6 to work with my visual studio.
From the above, after I run the PkgMgr.exe, my visual studio.net will be tied into iis.
From what I can gather, I will be still running my visual studio 2010 with the default web server cassini. However when I want to actually connect my visual studio.net 2010 to working with IIs, I will need to change my settings to the following:
<UseIIS>True</UseIIS> <AutoAssignPort>False</AutoAssignPort> <DevelopmentServerPort>3358</DevelopmentServerPort> <DevelopmentServerVPath>/SUPPORT</DevelopmentServerVPath> <IISUrl>http://localhost:8080/support</IISUrl>;
When I can ready to deploy the application to production, I will need to do the comments you made below:
As far as programming IIS7 server, set the root path to the folder you put the project in in Default Web Site. Then on the far right, set the bindings to port 80, click on Default Documents, and enter the default document name, usually Default.aspx</pre>
|
|
|
|
|
i need to develop a remote desktop application for accessing machines through internet.please suggest ur ideas...
|
|
|
|
|
My ideas...
Hiring a team of really good developers. Get a few million dollars in funding. And schedule a release in about a year.
Failure is not an option; it's the default selection.
|
|
|
|
|
Don't reinvent the wheel. Just use an existing product.
A good free one is UltraVNC[^]
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
Want to resize image on client side before uploading on server in asp.net c#...
|
|
|
|
|
Do you mean you want to allow the user to crop the image, or do you mean that they should be able to change the physical size of the image? The two are different, and how you would solve them are different too.
|
|
|
|
|
You normally would not do this. There are 3rd party tools that can do this but they will be server side. You want the file on your server to then do processing on it.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
|
For this you can use the tool from Ajax Control Tookit as Resizeable Control...
- Happy Coding -
Vishal Vashishta
|
|
|
|
|
how to write a code in asp.net
1. editable button to goes on to update button create after the click
|
|
|
|
|
Please read a book on ASP.Net. Also, please ask a clear question.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
clicking a button will take you to button cclick event. you surely need to study asp.net beginner books.
|
|
|
|
|
how convert some algorithm to c#..
please give me some relevant links.some direction to achieve this goal.
|
|
|
|
|
Algorithms are just general guides,or set of steps for solving a particular problem.It is difficult to convert in code by software.
If any software convert algo to code then it requires some own syntax to define algorith then it will converts intio code.
|
|
|
|
|
You will have to re-write the code in C#. Please ask a specific question if you get stuck on a particular line of code.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
can any one provide me code for videos slide show
|
|
|
|
|
This is not a clear question so please search for 3rd party tools or if you are using ASP.Net search for jQuery tools.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I have some charts taking a long time to load (up to 15 seconds). I would like to calculate the time to load if possible.
I already have a feedback to the user using javascript and ajax extensions, but I cannot find any kind of "feedback" from the chart control so that I can display a "6 seconds to finish".
Is there any way to calculate/estimate this?
|
|
|
|
|
Well the chart control just makes a JPG or PNG image, that you reference in HTML in which your server sends back to the users web browser for display.
A well written chart program can generate an image in like 1/10th of a second. So your slow times must be from not closing a Paint handle, SQL handle or something like that, and your waiting for something to timeout. Or you forgot to destroy an object somewhere.
The chart control is just a wrapper to the paint or GDI classes in asp.net, I'm not aware of any feedback handle in the chart control.
Step through your program using debug, and set some breakpoints.
|
|
|
|
|
I'll check it out, thanks!
|
|
|
|
|
I've just tested, and when populating a small amount of data it runs fast, however when populating more data the process slows down. The SQL query runs fine, my x/y plotting runs fine. But after my methods are finished it slows down. It must be something with generating the picture....
FYI: I'm generating a chart based on a timeline with appr. 10000 rows with the X/Y values in two separate columns on each row.
Any suggestions?
|
|
|
|
|
Kaare Tragethon wrote: But after my methods are finished
Could you elaborate on that, Which methods,
the gathering and packaging of data,
or plotting of chart values?
or the final write to create the image file to the disk drive
Did you make a thousand variables, that the garbage collector has to clean-up at the end of your function? garbage collection takes lots of time to complete. Since your writing in an high level language wrapper, you don't see the extra tasks and time needed to cleanup memory at the end.
How big is the final image file size?, over 5 megs?
Are you writing a huge PNG at 24 or 32 bits, instead of a compressed JPG?
A nice chart is something that is 640 x 480, easy to read, no scrolling.
Or you can change the program to create each record 1 by 1, and loop it to create 10K charts, just kidding, but serious about breaking it down into smaller pieces.
You might of run out of memory RAM and threads, and the computer is doing a huge disk swap to complete the job. You may need to do some serious optimization on your code there.
|
|
|
|
|
I mean that it doesn't take long to do the following:
command.CommandText = "SELECT TimeStamp, " + siloNo + " FROM SilosGraphHistory";
UxChartSiloHistory.DataSource = command.ExecuteReader();
UxChartSiloHistory.Series["UxChartSeriesSilo"].XValueMember = "TimeStamp";
UxChartSiloHistory.Series["UxChartSeriesSilo"].YValueMembers = siloNo;
UxChartSiloHistory.DataBind();
It exits my method (that fetches data from the SQL server and binds them to the chart) in milliseconds. Then, after that, I'm unable to find out why it takes so long... Do you have any tricks to detect where the time goes??
The final size when saving it to my desktop is just 30kb.
I am indeed a beginner in ASP.NET and C# so please have that in mind, and thank you very much for taking the time to answer my questions....
|
|
|
|