sql server 2005 won't accept connections

SQL Server 2005 running on a virtual server with 3GB of memory.

someone inadvertently changed the memory allocation for SQL server and now the CPU is pegged and I cannot connect to SQL Server. When i look at talk manager on the server sql server is using 100% of CPu and 81248k of memory

Can anyone help me in resolving this?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Have you tried restarting the sql server service?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
itsonlyme4Author Commented:
I  got the full story.. the memory configuration was changed from 2GB to 2MB...   how can I resolve this?
Are you able to connect to your sql server from a command prompt using sqlcmd?
If so try running the this command:
sp_configure 'max server memory', 2048;
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

itsonlyme4Author Commented:
CPU is pegged at 100% when I do Start\Run to try and get a command prompt it just clocks...
itsonlyme4Author Commented:
any ideas??
itsonlyme4Author Commented:
SQL Server is not accepting connections via SQLCMD
itsonlyme4Author Commented:
Cannot connect to SQL Server via SQLCMD - connection times out.  Should I try rebooting the box or stopping\restoring SQL Server?   I need to get the memory set back to "sp_configure 'max server memory', 2048"
itsonlyme4Author Commented:
restarted service and set memory back to 2048mb
Guy Hengel [angelIII / a3]Billing EngineerCommented:
yes, restart the sql server service ...
if nothing works, restart in restricted / minimal mode, to make the change:
itsonlyme4Author Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for itsonlyme4's comment http:/Q_27523216.html#37387550

for the following reason:

restarted service
Anthony PerkinsCommented:
>>restarted service<<
This was suggested in the very first comment.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.