|
Hi,
Currently I am working on fine tuning the IIS 8.5 settings.
The CPU is 6 core and RAM is 16 GB
I have set all the Perfmon counters for general and IIS as per below link :
http://www.monitis.com/blog/important-iis7-counters/
Now after observing the Perfmon, I found that ASP.NET\Request Wait Time is taking more than 5 seconds.
So I need to fine tune the Thread Pool settings in machine.config as in below link :
http://geekswithblogs.net/StuartBrierley/archive/2009/09/30/tuning-iis---machine.config-settings.aspx
Currently there is no thread pool settings in machine.config, it is <processmodel autoconfig="“true”">.
So please advise that can I update the thread pool settings as below :
Thread pool setting in Machine.config
maxconnection 12 * #CPUs
maxIoThreads 100
maxWorkerThreads 100
minFreeThreads 88 * #CPUs
minLocalRequestFreeThreads 76 * #CPUs
As I need some basis to change the default Thread Pool Settings.
Or what Perfmon counters should I need to study in-order to change the default Thread Pool Settings.
Please suggest.
Thanks in advance.
a
|
|
|
|
|
Hi,
I am new to ASP.NET. I would like to know how to create a page with a side bar, which is tree like. There are two tables with a one to many relation. So I get all records from table A that matches the Id of table B. I want to display this list in the side bar. Also, use the Create New page in the body content. Is this possible in ASP.NET? Please help.
Thanks
|
|
|
|
|
I would google for "css sidebar" and find one you like and then implement it.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hello All,
From my site user can login and manage it's document. I need to create user wise FTP account where user can login in FTP . From that FTP credential user can download and upload file. Admin of this site access that document . Admin can download all users files.
For that i need help.
1) Create FTP user on server where site is publish from c# code.
2) Create User wise folder with user wise permission.
3) Other user can not see other user folder. Admin have all user wise folder rights.
All things manage from c# code.
Thanks in Advance.
Have great day.
|
|
|
|
|
500 (Internal Server Error)
I Have This Problem When I Upload The Project To Server But Locally I Dont Have This Problem
EASY COME EASY GO
|
|
|
|
|
There was an error in the server.
|
|
|
|
|
i have a software that work with .lic file for expiry date
i have the .lic files they contain exp date till 6 june 2018 expiry need to generate files my self any help
i cant paste or uplaod the file here so if any one have clue email me and i send the file its 16 caracters in the file.
|
|
|
|
|
[redacted]
modified 10-Jul-17 9:08am.
|
|
|
|
|
That suggests you're using a commercial component, and you've only purchased a license to use it until June next year.
If you want to extend that date, then you will need to purchase a new license.
We will not help you steal someone else's intellectual property.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
hello
Actually i want to add superscript and subscript text using asp.Net. Can anybody help me that
how to write superscript and subscript text using ASP.NET.
|
|
|
|
|
Member 13299238 wrote: how to write superscript and subscript text using ASP.NET. What does that mean, where are you trying to write it - to a file, printer, screen, website ... ?
|
|
|
|
|
first of all thank you very much sir for your response.
sir i want to design a web page where from anyone can ask any question of any subject for eg maths.
suppose someone want to ask about solution for (a+b)2 [a plus b whole square] then how he/she can type 2 as superscript, and other symbols like integration, differentiation etc.
|
|
|
|
|
You cannot type those symbols on a standard keyboard, without using multiple keystrokes, which are difficult to remember. You should use the standard operator symbols as defined in most modern programming languages, e.g. 7.2.1 Operator precedence and associativity (C#)[^]. For subscript and superscript on web pages see HTML sub tag[^].
|
|
|
|
|
okay sir, can you tell me how to upload and retrieve videos using ASP.Net
|
|
|
|
|
Google will find many samples and tutorials for you.
|
|
|
|
|
|
i want to connect to my local database but it doesn't responding means some thing is going wrong.
please advised me for the syntax of as i wrote the below code.
<connectionstrings>
<add name="connect" connectionstring="Data Source=DESKTOP-L6ABJBC;Initial Catalog=LoginDB1;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-WebSite3-20170707151050.mdf">
|
|
|
|
|
If you want someone to help you resolve an error, then first you need to tell us what the error is. Just saying "it's not responding" and "something is going wrong" is not enough information for anyone to help you.
The only obvious problem is that you're using AttachDBFilename , but you don't appear to be connecting to an instance of SQL Server Express. That option only works with Express, and is a bad idea anyway:
Bad habits : Using AttachDBFileName - SQL Sentry[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Brother this is error showing in this way "Line no. 22 con.open();
Server Error in '/' Application.
Database 'C:\Program Files (x86)\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\LoginDB1.mdf' already exists. Choose a different database name.
Cannot attach the file 'C:\Users\Atta\Documents\Visual Studio 2012\WebSites\WebSite3\App_Data\aspnet-WebSite3-20170707151050.mdf' as database 'LoginDB1'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Database 'C:\Program Files (x86)\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\LoginDB1.mdf' already exists. Choose a different database name.
Cannot attach the file 'C:\Users\Atta\Documents\Visual Studio 2012\WebSites\WebSite3\App_Data\aspnet-WebSite3-20170707151050.mdf' as database 'LoginDB1'.
Source Error:
Line 20: {
Line 21: SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["connect"].ToString());
Line 22: con.Open();
Line 23: string query = "select count(*) from userlogin where username ='" + txtBox1.Text + "'and pass '" + txtBox2.Text + "'";
Line 24: SqlCommand cmd = new SqlCommand(query, con);
Source File: c:\Users\Atta\Documents\Visual Studio 2012\WebSites\WebSite3\Default2.aspx.cs Line: 22
Stack Trace:
[SqlException (0x80131904): Database 'C:\Program Files (x86)\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\LoginDB1.mdf' already exists. Choose a different database name.
Cannot attach the file 'C:\Users\Atta\Documents\Visual Studio 2012\WebSites\WebSite3\App_Data\aspnet-WebSite3-20170707151050.mdf' as database 'LoginDB1'.]
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling) +821
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +332
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +38
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +699
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +89
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +426
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +78
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +191
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +154
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +21
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +90
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +217
System.Data.SqlClient.SqlConnection.Open() +96
Default2.Button1_Click(Object sender, EventArgs e) in c:\Users\Atta\Documents\Visual Studio 2012\WebSites\WebSite3\Default2.aspx.cs:22
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9819334
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +204
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639
|
|
|
|
|
|
How do I build an XML based News page in ASP.NET MVC? I would like to enumerate XML files inside a folder and build a list of summaries on the page. Once the visitor clicks on one of the summaries, I would like to load the associated XML file and render the full news content (with nice formatting included).
An example of the summaries page can be found [1] while and example of the single XML news page rendered can be found here [2]?
Should I write everything from scratch or there is a good tutorial to start with somewhere?
Thanks.
[1]:https://www.devexpress.com/Home/Announces/2017-Universal-17-1.xml
[2]:https://www.devexpress.com/Home/Announces/
|
|
|
|
|
It depends on the structure of the XML files. Do they all share the same structure? If not, how do you identify which structure each file has?
If they're RSS or Atom feeds, the SyndicationFeed[^] class is probably the best place to start:
Build an RSS reader in 5 minutes | Thomas Levesque's .NET blog[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
XML file will be manually created by us and they should support formatting in some way. As you can see from the links, this News are nicely formatted (I mean titles, sub-titles, etc.)
Thanks.
|
|
|
|
|
We are getting complaints from the customer that they have to keep on refresh (Ctrl+F5) on the page or sometimes clear the cookies to reflect the changes done on upgrade.
Especially, when we upload CSS/JS files or Images sometimes.
To overcome this situation, I did some research and found one solution to append Query string with the name of image or CSS files. But it does not seem to be a coherent solution. Then I used NuGet packages for Bundle. It seems to be the solution but I have another issue like I am calling individual CSS file for each page (page specific) and to make a bundle for the single file is not the good idea.
What should i follow as good approach to overcome this situation where changes can reflect on the server after uploading CSS/Images or JS files.
|
|
|
|
|
You've already mentioned it, a querystring variable on the css\js paths.
|
|
|
|