|
support@myDomain
Best wishes
|
|
|
|
|
Hello Friends,
I'm getting running processes using the Process.GetProcess() on localhost and my code is giving the output i want to. But after uploading on my server it throws following error
Access is denied
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.ComponentModel.Win32Exception: Access is denied
.........
And also i've already set <identity impersonate="true"/> and full trust level
|
|
|
|
|
When you are developing the software you are most likely using Casini (the built in web server in Visual Studio). One of the main issues with that is that Casini is running with your user rights and your web application can do anything you are permitted to do. When it is installed on the server it will be running in IIS and is only permited to do what the account IIS has been given is permitted to do.
The solution is to always develop your ASP.NET application using IIS as the web server so you get to know the issues that IIS will throw up at you.
As you are past that point there are various courses of action I could suggest. However, I am reluctant to do so as each has a security impact on your system that has the potential to open paths for attack. As you have obviously not considered the security implications of your actions within the software you have written I would estimate that the risk may be quite high.
|
|
|
|
|
our project is based on real estate. we want to include a module which can search property through map.
for that we have used google map control. now we want to know that how to fetch the city from Google Map and match with the city in database.
please help us to solve this problem.
vidhi
|
|
|
|
|
The google maps have an active mailing list, and a lot of documentation. I believe the best google gives you is a lat/long, which you can then look up in a geocity database. I could be wrong, it changes all the time, so read their docs and ask them.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
but sir can't we get perfect solution to this problem. we really don't know how to locate points.
|
|
|
|
|
Have you purchased the google map control from google ...
If you have done this then i think google will only give idea about this because they exactly know at which position which location is located
Thank you
Vinod Kumar
Software Engineer
Ebc publishing ltd.
|
|
|
|
|
So far I can get all computers in an active directory:
DirectoryEntry entry = new DirectoryEntry("LDAP://" + thisDomain.Name);
DirectorySearcher mySearcher = new DirectorySearcher(entry);
mySearcher.Filter = ("(objectClass=computer)");
foreach (SearchResult resEnt in mySearcher.FindAll())
{
MessagBox.Show(resEnt.GetDirectoryEntry().Name.ToString() );
}
And I can get all Organizaitonal units:
DirectorySearcher mySearcher2 = new DirectorySearcher(entry);
mySearcher2.Filter = ("(objectClass=organizationalUnit )");
foreach (SearchResult resEnt2 in mySearcher2.FindAll())
{
MessageBox.Show( resEnt2.GetDirectoryEntry().Name.ToString());
}
Now how can I get a computer and its organizational unit? Any suggestions?
|
|
|
|
|
how can i select excel data into sqlserver by using the query.
|
|
|
|
|
Dude which is your concrete question?
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
|
You should explain more your question because nobody will not understand what do you want!
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
I got realy good help from this source.
Only problme is that when I inlclude timer in my code and if I include marker it want support zoom level.
I tried with drop-down list where I gave zoom level options from 1-17. On Zoom Level selection - from dropdown list, it works fine with poly-line even if refreshing every after 10 seconds.
but if I include Marker code it does not shows map of selected zoom level, insted of that it shows me map of some default zoom level
Its veary urgent for me to solve this problem.
please help me to out from this problem.
Thanks in Advance
Bhavesh
|
|
|
|
|
Hi
i hav a gridview with 5 columns. I am getting data from database and binding the the values to the grid.
now on clicking a row of the grid, i want to display the status of the record.
the status should be displayed just after the row in the gridview. could somebody help how i can do this.
Thanks in advance
Naina
|
|
|
|
|
nainakarri wrote: i want to display the status of the record
How do you mean by displaying status of record?
Can you explain more clear your question?
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
I am sorry for not being clear and thanks for the immediate response. on clicking a link present in column of gridview, i want to display my customised message after the row. it means this message should be displayed in between rows. this should happen the same for all the rows. and the message to be didplayed after the corresponding clicked row.
Thanks
Naina
|
|
|
|
|
GridView have SelectedIndexChanged event and in every selected row you can write you customized message.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
can you give me some example how to do this please
|
|
|
|
|
Check this link.[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Thank you.......it helped me.
|
|
|
|
|
No problem,you are welcome.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Hello Friends,
I want to use asp.net routing in my project.Also i am using .net authentication for login.When i set a url in global.asax like Routes.Add("Home", new System.Web.Routing.Route("{Home}/{*Id}", new CustomRouteHandler("~/FrontEnd/Home.aspx")));
I call the Home url on a button click like Response.Redirect("Home/View");
But the url in addressbar looks like http://localhost:4254/CGCBM.Website/FrontEnd/Home.aspx?ReturnUrl=%2fCGCBM.Website%2fFrontEnd%2fHome%2fView
as per routing the url looks like http://localhost:4254/CGCBM.Website/Home/View but it looks like entirely different.Please help me to sort it out.
|
|
|
|
|
I am developing a web app and i would like to know if i could add a "div" tag to the user control dynamically in asp.net2.0&c#
Plz help
|
|
|
|
|
Use Repeater Control that will be very much easy.
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
try
Panel div = new Panel();
this.Controls.Add(div);
|
|
|
|