Results 1 to 8 of 8

Thread: how to do these settings in config file

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    13

    how to do these settings in config file

    hi all,

    I had a problem with ASP.NET and the in microsoft for the solution has written two things to be done in machine.config file. but i do not know how to do that. can you help me to find out how to do that?

    1-set the username attribute to system in the <processmodel> section of the machine.config file.

    2-configure the <processmodel> section of the machine.config file to use an administrator account.


    thanks in advance for your help.
    roseta

  2. #2
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    Locate the machine.config file on your machine, then just change the settings in the file.
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    C:\Windows\MICROSOFT.NET\Framework\1.X.XXXX\CONFIG

    Open in notepad. It's in XML format, just change the values!

  4. #4

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    13
    i am new in .net
    i searched the file but did not see any thing in processmodel that shows that it has the name attribute. i searched for attribute but did not find any thing.
    how do i configure that to use an administrator account ? do i have to write any thing , in the config file.

    please tell me where in this file i should do that . if you just copy the line that i should edit i would be thankful.

    roseta

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Do you see something like this there:

    <section name="processModel" type="System.Web.Configuration.ProcessModelConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineOnly"/>

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Just use the search feature and search for ProcessModel.

    SOrry, the previous line was wrong. Here's the line:

    <processModel enable="true" timeout="Infinite" idleTimeout="Infinite" shutdownTimeout="0:00:05" requestLimit="Infinite" requestQueueLimit="5000" restartQueueLimit="10" memoryLimit="60" webGarden="false" cpuMask="0xffffffff" userName="machine" password="AutoGenerate" logLevel="Errors" clientConnectedCheck="0:00:05" comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate" responseDeadlockInterval="00:03:00" maxWorkerThreads="20" maxIoThreads="20"/>

  7. #7

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    13
    hi,

    i have seen the line but do not know where to edit to know so that user name attribute becomes system. do i have to write it my self.
    on other hand, on the instruction it has written:

    1-create a weak account that has the correct permission and then configure the <processmodel > section of the machine.config file to use that account.

    2-configure the <processmodel> section of the machine.config file to use an administrator account.

    can i make it to use two user. can i just write another user name and password. is there any syntax for this section. or we can write the attribute and other user name and password.


    thanks for your help.
    roseta.

  8. #8

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    13
    I am so sorry i made a mistake , the thing that i did not notice is doing on of the options.

    and i should do one of them.
    thanks for you help.

    roseta

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width