Showing posts with label aspx. Show all posts
Showing posts with label aspx. Show all posts

Friday, March 9, 2012

Please....tell me can it be done or not?

Can I set a URL in such a way that as soon as a report opens; it takes us to
a specified aspx page first?I'm not aware of any way to do this. What is it you are trying to
accomplish? Maybe there is some other way to do it.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"RA" <rchaudhary-nospam@.storis.com> wrote in message
news:%23to4cyOzEHA.2568@.TK2MSFTNGP10.phx.gbl...
> Can I set a URL in such a way that as soon as a report opens; it takes us
to
> a specified aspx page first?
>|||If your goal is to authenticate the user, you can check out the Forms
Authentication example available from Microsoft. That auto-redirects users
who are not authenticated.
--
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
news:e%23MQX1OzEHA.908@.TK2MSFTNGP11.phx.gbl...
> I'm not aware of any way to do this. What is it you are trying to
> accomplish? Maybe there is some other way to do it.
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "RA" <rchaudhary-nospam@.storis.com> wrote in message
> news:%23to4cyOzEHA.2568@.TK2MSFTNGP10.phx.gbl...
>> Can I set a URL in such a way that as soon as a report opens; it takes us
> to
>> a specified aspx page first?
>>
>|||Just like clicking a link, we can open a report; I want to open an html or
aspx page.
"Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
news:e%23MQX1OzEHA.908@.TK2MSFTNGP11.phx.gbl...
> I'm not aware of any way to do this. What is it you are trying to
> accomplish? Maybe there is some other way to do it.
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "RA" <rchaudhary-nospam@.storis.com> wrote in message
> news:%23to4cyOzEHA.2568@.TK2MSFTNGP10.phx.gbl...
>> Can I set a URL in such a way that as soon as a report opens; it takes us
> to
>> a specified aspx page first?
>>
>|||I still don't understand what you are trying to accomplish.
If you want to integrate an existing webpage then look at URL integration.
If you want to go from some report to a web page of your choosing then you
can do a jump to URL and go anywhere you want. It does not have to be a
report.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"RA" <rchaudhary-nospam@.storis.com> wrote in message
news:utTuZ3OzEHA.3548@.TK2MSFTNGP09.phx.gbl...
> Just like clicking a link, we can open a report; I want to open an html or
> aspx page.
> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
> news:e%23MQX1OzEHA.908@.TK2MSFTNGP11.phx.gbl...
> > I'm not aware of any way to do this. What is it you are trying to
> > accomplish? Maybe there is some other way to do it.
> >
> > --
> > Bruce Loehle-Conger
> > MVP SQL Server Reporting Services
> >
> > "RA" <rchaudhary-nospam@.storis.com> wrote in message
> > news:%23to4cyOzEHA.2568@.TK2MSFTNGP10.phx.gbl...
> >> Can I set a URL in such a way that as soon as a report opens; it takes
us
> > to
> >> a specified aspx page first?
> >>
> >>
> >
> >
>|||Try IIS "redirect" feature but don't know if it will work.
"RA" wrote:
> Can I set a URL in such a way that as soon as a report opens; it takes us to
> a specified aspx page first?
>
>|||Using Jump to URL, can a web page be opened in new window?
"Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
news:OgYaw7OzEHA.1400@.TK2MSFTNGP11.phx.gbl...
>I still don't understand what you are trying to accomplish.
> If you want to integrate an existing webpage then look at URL integration.
> If you want to go from some report to a web page of your choosing then you
> can do a jump to URL and go anywhere you want. It does not have to be a
> report.
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "RA" <rchaudhary-nospam@.storis.com> wrote in message
> news:utTuZ3OzEHA.3548@.TK2MSFTNGP09.phx.gbl...
>> Just like clicking a link, we can open a report; I want to open an html
>> or
>> aspx page.
>> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
>> news:e%23MQX1OzEHA.908@.TK2MSFTNGP11.phx.gbl...
>> > I'm not aware of any way to do this. What is it you are trying to
>> > accomplish? Maybe there is some other way to do it.
>> >
>> > --
>> > Bruce Loehle-Conger
>> > MVP SQL Server Reporting Services
>> >
>> > "RA" <rchaudhary-nospam@.storis.com> wrote in message
>> > news:%23to4cyOzEHA.2568@.TK2MSFTNGP10.phx.gbl...
>> >> Can I set a URL in such a way that as soon as a report opens; it takes
> us
>> > to
>> >> a specified aspx page first?
>> >>
>> >>
>> >
>> >
>>
>|||A report is not a web page. RS is a web application that retrieves the
appropriate RDL from the database, renders it and returns the data. I really
don't think that would work.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"mresanchez" <mresanchez@.donot-spam.com> wrote in message
news:F3CEA3E9-CDB9-4ABF-930B-BC2771B4CD07@.microsoft.com...
> Try IIS "redirect" feature but don't know if it will work.
>
> "RA" wrote:
> > Can I set a URL in such a way that as soon as a report opens; it takes
us to
> > a specified aspx page first?
> >
> >
> >|||Teo (the other MVP) just answered this in another thread. I didn't know the
answer but saw his.
= "javascript:window.open('http://www.google.com')"
Cool.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"RA" <rchaudhary-nospam@.storis.com> wrote in message
news:OxqmrJPzEHA.2716@.TK2MSFTNGP14.phx.gbl...
> Using Jump to URL, can a web page be opened in new window?
> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
> news:OgYaw7OzEHA.1400@.TK2MSFTNGP11.phx.gbl...
>>I still don't understand what you are trying to accomplish.
>> If you want to integrate an existing webpage then look at URL
>> integration.
>> If you want to go from some report to a web page of your choosing then
>> you
>> can do a jump to URL and go anywhere you want. It does not have to be a
>> report.
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> "RA" <rchaudhary-nospam@.storis.com> wrote in message
>> news:utTuZ3OzEHA.3548@.TK2MSFTNGP09.phx.gbl...
>> Just like clicking a link, we can open a report; I want to open an html
>> or
>> aspx page.
>> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
>> news:e%23MQX1OzEHA.908@.TK2MSFTNGP11.phx.gbl...
>> > I'm not aware of any way to do this. What is it you are trying to
>> > accomplish? Maybe there is some other way to do it.
>> >
>> > --
>> > Bruce Loehle-Conger
>> > MVP SQL Server Reporting Services
>> >
>> > "RA" <rchaudhary-nospam@.storis.com> wrote in message
>> > news:%23to4cyOzEHA.2568@.TK2MSFTNGP10.phx.gbl...
>> >> Can I set a URL in such a way that as soon as a report opens; it
>> >> takes
>> us
>> > to
>> >> a specified aspx page first?
>> >>
>> >>
>> >
>> >
>>
>>
>|||You could always build a web application that did whatever you want and then
ran a report.
--
Brian Welcker
Group Program Manager
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
news:%237FEZLPzEHA.2656@.TK2MSFTNGP14.phx.gbl...
>A report is not a web page. RS is a web application that retrieves the
> appropriate RDL from the database, renders it and returns the data. I
> really
> don't think that would work.
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "mresanchez" <mresanchez@.donot-spam.com> wrote in message
> news:F3CEA3E9-CDB9-4ABF-930B-BC2771B4CD07@.microsoft.com...
>> Try IIS "redirect" feature but don't know if it will work.
>>
>> "RA" wrote:
>> > Can I set a URL in such a way that as soon as a report opens; it takes
> us to
>> > a specified aspx page first?
>> >
>> >
>> >
>

PLEASE! - Login failed for user MACHINENAME\ASPNET.

Help!! I am using Sql Server 2005 Express.

I am trying to connect to it from an aspx page.

I get the error:

Cannot open user default database. Login failed.
Login failed for user 'MACHINENAME\ASPNET'.

I have added MACHINENAME\ASPNET as a user to the database I am trying to connect to using SQL Server Management Studio Express.

Why wont it let me connect?

Any help on the matter would be most welcome.

Thanks you.

Hi,
I use sql server 2000 but I had th same problem a few months ago. You should examine 2 options. First look at the groups in your windows not on the sql server and see if aspnet and guest accounts are enabled or disabled. If they are disabled pls make them enabled then delete the available aspnet account in your sql. Create again an aspnet account in your sql choosing available accounts in your windows account, dont create aspnet account by typing aspnet yourself. just choose. Finally as you know, give this account necessary permissions you need to do your work in your database. I hope this will solve the problem :)

The Ghost of PC
[ Peace in country, peace in the world]

|||

Cannot open user default database

The user you set up does not have permissions on the database you set as the users default database.

|||

ghost,

I'm a real newbie. How do I look at groups in my windows? I have the same problem, only with some databases and not others.

dennist685

|||No offense but I kind of guessed that! If you see my message you'll see that I already added the user so that wasn't the problem.

I actually changed the way I connected to the database to:

Data Source=.\SQLEXPRESS;Initial Catalog=myDb;Integrated Security=True;

previously I was using:

Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|myDb.mdf

Now, here's the wiered thing. If I connect using the top method, it works and I'm connecting as machinename/ASPNET.

If I use the second connection string, I'm still connecting as machinename/ASPNET but the login fails.

So, if anyone can explain that, I'd be interested to know why it happens. I've set up machinename/ASPNET as a user so that ISN'T the problem as it lets me connect using the top connection string. It seems to be when I use the bottom method for connecting that I get the error even though I know that machinname/ASPNET is set up as a user on the database.