|
Hello. Our programmer created a VS2005 Crystal Report that uses the
calendar control
. It seems to work fine when viewed locally but when we
publish it to the web server which is W2K Server the Calendar control's
image is not showing with a red X and some text box fields look like they're
enabled but can't click on to them. Does anyone know what we need to do to
make the Calendar control and other text box fields work when we publish
them to our webserver?
Thanks in advance.
|
|
|
|
|
amitamit099 wrote: Our programmer created a VS2005 Crystal Report that uses the
calendar control
I think you mean Calendar control in the web page that used as input to your report. I think the image path applied to the calendar control is not present there. Check whether you have deployed the images when you publish.
We often exclude image folder and see its working with WebDev server and publish to get this nasty errors..
|
|
|
|
|
hi Friends,
i want to get data from database. I am giving connection string in my web.config file
it looks like
<connectionStrings>
<add name="SampleDataBaseConnectionString" connectionString="Data Source=DREDDY9\SQLEXPRESS;Initial Catalog=SampleDataBase;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
from the codebehind file i am trying to accesses data from the DB, The code which i written is mentioned below
string sqlStatement = "select * from Student_Table";
String dataBaseConnection = WebConfigurationManager.ConnectionStrings["SampleDataBaseConnectionString"].ConnectionString;
//String dataBaseConnection = "Data Source=ddaya;Initial Catalog=SampleDataBase;Integrated Security=True";
SqlConnection myConnection = new SqlConnection(dataBaseConnection);
SqlCommand myCommand = new SqlCommand(sqlStatement, myConnection);
SqlDataReader dr;
myConnection.Open();
dr = myCommand.ExecuteReader();
if (dr != null)
{
Response.Write("Successfully Executed");
}
myConnection.Close();
but still it was giving an error like
Cannot open database "SampleDataBase" requested by the login. The login failed.
Login failed for user 'DREDDY9\ASPNET'.
but through sql server i am able to open the DB and i can query.
any solution for this.
|
|
|
|
|
yes.. thats a quite a general problem.
Follow the steps :
1. Connect to SQL Server Management Studio and login to your server using Console.
2. Go to Security -> Logins -> Right click and select New Login.
3. In login name type DREDDY9\ASPNET , click OK.
Now Move to the yourDataBase Tree node -> security - > users -> Right click -> New User - > Type ASPNET -> and choose Login Name as DREDDY9\ASPNET from browse.
Now I think it will work now.
|
|
|
|
|
HOw pie chart can be created dynamically by taking data from database.
Please help me out by explaining with an example. Or any references willl do. i searched in net and other forums but was not able to get reference code with "inputs taken from database".
Thanks in advance.
Thanks,
Santa
|
|
|
|
|
why dont you use RDLC reporting tool to generate PIE charts.
It will be easier to do that. Just design the report with Pie chart in it and load in ReportViewer control on your website.
To do that just look at this article
here.[^]
It would be a great task to create the image yourself in the server and present that to the client on the fly.
|
|
|
|
|
I will not be able to do that as i am creating aspx and .cs files dynamically from XML/XSL from windows application. Movw all these created aspx and .cs files to a newly created web application. SO i will not be able to do in above said process. I need some code for manipualationa nd display of Pie chart in asp.net for a WEB APPLICATION.
Thanks in advance.
Thanks,
Santa
|
|
|
|
|
|
I saw this link before itself. In this they are just drawimg the pie chart with their own inputs, i need this inouts to come from DB. Please help me with some code example.
Thanks,
Santa
|
|
|
|
|
yes.. I know. In that article it is doing using Random function, so that data always comes at random. Use SQL data instead of Random.
Minor modifications will give you the output.. I guess..
|
|
|
|
|
I have two web sites i want to access website2 in Website1
means in Website2 it contains two textboxes one is firstname and anothere is last name and one save button.
so i am calling this website2 in my wbsite1 using Iframe.
Requirement is: i want to pass the both first name and lastname values to website 2 and do some modifications with
out using any querystrings because the website2 is not in my control,then i will click save button in website2
i want to strore this modified textbox values in my website1 databse.
is there any way to pass values to other site and do the process and save in our current site.
|
|
|
|
|
You mean you have an existing website which you want to load in Iframe and find some textboxes ??
Check the code below:
<iframe id="myframe" name="myframe" src="http://yoursite/test.aspx"></iframe>
<script type="text/javascript">
var iframe;
iframe = document.getElementById('myframe');
iframe.onload = function() {
var iframedoc;
iframedoc = iframe.contentWindow ? iframe.contentWindow.document: iframe.contentDocument;
iframedoc.getElementbyId('yourinputcontrol').value="anything";
}
</script>
where yourinputcontrol is the control in the iframe document.
Hope it works.
|
|
|
|
|
Can anyone give me the introduction abt the Google Analytics ga.js
modified on Tuesday, September 15, 2009 9:38 AM
|
|
|
|
|
|
I needed something in the elaborative manner and i am not able to understand all the functions. So pls send me some practical examples that where and how it is used.
|
|
|
|
|
Perhaps you need to advertise for a tutor on the job board then ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Google Analytics actually captures informations about the visitors of the page and sends the data to the analytics server. The server then analyses each visitor and gives you a complete report based on where the user is most hitting, which area is getting most of attraction etc.
This is a very handy service for commercial web sites. Many of websites uses this feature. If you need all information regarding this please refer :
http://code.google.com/apis/analytics/docs/concepts/gaConceptsOverview.html[^]
and
http://www.google.com/analytics/[^]
Hope this will clear your idea.
|
|
|
|
|
pls can you send some website addresses which are using these services?
|
|
|
|
|
|
I'm using Multiple Dropdown list in my website... When country dropdownlist is selected, the appropriate states are loaded, When state dropdownlist is selected, the city will be loaded..... Now, the problem is I cannot able to assign selecteditem for states and city.... Country is loaded at the pageload event... States and cities are loaded dynamically, when selecting the country... How to assign selecteditem for states and city??
|
|
|
|
|
1 - Make sure to load the country list with check not post back like
Page_Load event...........()
{
If( !IsPostBack )
{
Load Country list
}
}
2- In Country drowdown event SelectedIndexChanged
Load the State list
3 - In State dropdown event SelectedIndexChanged
Load the City list
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
S.... Country is in postback only. It is also loading the relevant states and cities..
"liststates.Text=myvalue"
Even, this statement also showing correctly.. But the selectedtext is not changing
|
|
|
|
|
Shalini_U wrote: "liststates.Text=myvalue"
Whats the purpose of doing this?While selecting country drop down just fill the state dropdown and so on.
|
|
|
|
|
The country,state and city are already stored in a database for each user.
When the user opens his profile, the state he selected should appear in the text of dropdownlist in page load event
|
|
|
|
|
Fill Country DropDown make selected item as saved country.Fill State by that country id, make selected item as saved state and so on.Whats the difficulty for doing that?
|
|
|
|